Giter VIP home page Giter VIP logo

Comments (6)

jaydeepw avatar jaydeepw commented on August 11, 2024

The crash is in your setupActionBar() method. Probably your theme has no ActionBar but you are trying to get a handle to it. Possible?

from poly-picker.

anuragdadheech avatar anuragdadheech commented on August 11, 2024

I was having the same issue. Turned out my application base theme was AppCompat, which was causing issues. Changed the theme for particular activity and it worked. Hope it helps someone else.

from poly-picker.

azam3d avatar azam3d commented on August 11, 2024

This is step by step guide to change particular activity theme.
In styles.xml, add this lines

<style name="HoloTheme" parent="@android:style/Theme.Holo.Light">

</style>

In AndroidManifest.xml change these lines to these

<activity android:name="nl.changer.polypicker.ImagePickerActivity"
          android:theme="@style/HoloTheme"/>

No more crash after that.

from poly-picker.

HwanIk avatar HwanIk commented on August 11, 2024

@azam3d Thanks!!!!!!!!!!! you save me!! :D

from poly-picker.

fotock avatar fotock commented on August 11, 2024

@anuragdadheech, @azam3d are both correct. In my case:

<activity android:name="nl.changer.polypicker.ImagePickerActivity"
          android:theme="@style/AppTheme"/>

from poly-picker.

anand171 avatar anand171 commented on August 11, 2024

Hi Jaydeepw,

I am using your library, and that is giving an error regarding classpath. my app classpath is ...
classpath 'com.android.tools.build:gradle:3.0.1'

error is .....
Unable to resolve dependency for ':app@debugUnitTest/compileClasspath': Could not resolve com.github.jaydeepw:poly-picker:1.0.23.

Could not resolve com.github.jaydeepw:poly-picker:1.0.23.
Required by:
project :app

Could not resolve com.github.jaydeepw:poly-picker:1.0.23.
> Could not get resource 'https://repo.commonsware.com.s3.amazonaws.com/com/github/jaydeepw/poly-picker/1.0.23/poly-picker-1.0.23.pom'.
> Could not GET 'https://repo.commonsware.com.s3.amazonaws.com/com/github/jaydeepw/poly-picker/1.0.23/poly-picker-1.0.23.pom'.
> Host name 'repo.commonsware.com.s3.amazonaws.com' does not match the certificate subject provided by the peer (CN=*.s3.amazonaws.com, O=Amazon.com Inc., L=Seattle, ST=Washington, C=US)

please help me as soon as possible.

from poly-picker.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.