Teester / Whats-Nearby

Android App for collecting information about POIs for OpenStreetMap
GNU General Public License v3.0
13 stars 2 forks source link

authorize problem #49

Closed ghost closed 6 years ago

ghost commented 6 years ago

when I authorize the app will quit automatically

Teester commented 6 years ago

Hi. What device and android version are you using?

ghost commented 6 years ago

Sony Xperia XZ2 , Model H8266 android version 9 and i installed the app from f-droid ;-)

Teester commented 6 years ago

Thanks. I have a matching crash report:

java.lang.NoClassDefFoundError:  
at oauth.signpost.commonshttp.CommonsHttpOAuthProvider.<init> (CommonsHttpOAuthProvider.java:3)  
at com.teester.whatsnearby.data.source.OAuth.a (OAuth.java:41)  
at com.teester.whatsnearby.data.source.OAuth.<init> (OAuth.java:12)  
at com.teester.whatsnearby.main.MainActivity$1.run (MainActivity.java:8)  
at java.lang.Thread.run (Thread.java:764)  
Caused by: java.lang.ClassNotFoundException:  
at dalvik.system.BaseDexClassLoader.findClass (BaseDexClassLoader.java:134)  
at java.lang.ClassLoader.loadClass (ClassLoader.java:379)  
at java.lang.ClassLoader.loadClass (ClassLoader.java:312)  
at oauth.signpost.commonshttp.CommonsHttpOAuthProvider.<init> (CommonsHttpOAuthProvider.java:3)  
at com.teester.whatsnearby.data.source.OAuth.a (OAuth.java:41)  
at com.teester.whatsnearby.data.source.OAuth.<init> (OAuth.java:12)  
at com.teester.whatsnearby.main.MainActivity$1.run (MainActivity.java:8)  
at java.lang.Thread.run (Thread.java:764)  

Looks like an issue with the way I've implemented signpost (the oauth library the app used). Seems to only affect Android 9, however. I'm working on a solution.

Teester commented 6 years ago

Version 0.21 should resolve this issue. It may be a day or two before it is available.