Comments (6)
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.
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.
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.
@azam3d Thanks!!!!!!!!!!! you save me!! :D
from poly-picker.
@anuragdadheech, @azam3d are both correct. In my case:
<activity android:name="nl.changer.polypicker.ImagePickerActivity"
android:theme="@style/AppTheme"/>
from poly-picker.
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)
- Could not capture a photo HOT 1
- Turnoff Flashlight
- cwac:camera unresolved dependancy due to depricated library HOT 2
- adding video hanging the app
- Images taken from camera are rotated
- Problem in integration
- Gallery grid layout image blur
- Error:(89, 13) Failed to resolve: com.github.jaydeepw:poly-picker:1.0.23 HOT 11
- Could not capture a photo in Marshmallow
- AAPT2 error: check logs for details HOT 1
- Useless library
- TOAST Error (Formatter)
- Samsung Device Error
- Preview mode must have started before you can take a picture HOT 1
- Crashing above api version 22 HOT 4
- Crash when try to capture image in Note 4 HOT 2
- Gradle issue HOT 2
- How to capture the data if any image is captured via Camera on Result_Cancelled
- Want to print in GridView
- showMedia() is not there is the activity HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from poly-picker.