I updated today the sdk to the new version and I've got a problem with the license. When my application starts with the new Google API lev. 19, I receive a "License has stopped" error. From logcat I can see this kind of error:
11-01 06:47:57.120: E/AndroidRuntime(991): FATAL EXCEPTION: main 11-01
06:47:57.120: E/AndroidRuntime(991): Process: com.android.vending,
PID: 991 11-01 06:47:57.120: E/AndroidRuntime(991):
java.lang.RuntimeException: Unable to instantiate application
com.android.vending.VendingApplication:
java.lang.ClassNotFoundException: Didn't find class
"com.android.vending.VendingApplication" on path: DexPathList[[zip
file
"/system/app/LicenseChecker.apk"],nativeLibraryDirectories=[/vendor/lib,
/system/lib]]
Related
2020-11-13 16:35:41.850 27509-27525/? E/AndroidRuntime: FATAL EXCEPTION: create_react_context
Process: com.sehat, PID: 27509
java.lang.RuntimeException: Unable to load script. Make sure you're either running a Metro server (run 'react-native start') or that your bundle 'app.bundle' is packaged correctly for release.
at com.facebook.react.bridge.CatalystInstanceImpl.jniLoadScriptFromAssets(Native Method)
at com.facebook.react.bridge.CatalystInstanceImpl.loadScriptFromAssets(CatalystInstanceImpl.java:235)
at com.facebook.react.bridge.JSBundleLoader$1.loadScript(JSBundleLoader.java:29)
at com.facebook.react.bridge.CatalystInstanceImpl.runJSBundle(CatalystInstanceImpl.java:259)
at com.facebook.react.ReactInstanceManager.createReactContext(ReactInstanceManager.java:1243)
at com.facebook.react.ReactInstanceManager.access$1000(ReactInstanceManager.java:132)
at com.facebook.react.ReactInstanceManager$5.run(ReactInstanceManager.java:996)
at java.lang.Thread.run(Thread.java:764)
I am using selenium Chromedriver and whenever I am running this on a device I am getting the below error.
2019-09-13 23:10:58.671 11984-11984/? E/AndroidRuntime: FATAL EXCEPTION: main
Process: com.example.myapplication, PID: 11984
java.lang.RuntimeException: Unable to start activity ComponentInfo{com.example.myapplication/com.example.myapplication.MainActivity}: java.lang.RuntimeException: Unable to find a free port
Can anybody help out in this?
I am updating com.google.android.gms and firebase gradle dependencies to fix the error described here: Unable to start receiver com.google.firebase.iid.FirebaseInstanceIdInternalReceiver. I was using
compile 'com.google.android.gms:play-services:9.8.0'. Using versions above that seems to cause the following stack trace during adb logcat.
Why is this error caused?
FATAL EXCEPTION: main
05-15 12:21:11.721 11491 11491 E AndroidRuntime: Process: com.netbeast.yeti.debug,
PID: 11491 05-15 12:21:11.721 11491 11491 E AndroidRuntime:
java.lang.RuntimeException: Unable to get provider
com.marianhello.bgloc.sync.DummyContentProvider:
java.lang.ClassNotFoundException: Didn't find class
"com.marianhello.bgloc.sync.DummyContentProvider"
on path: DexPathList[[zip file "/data/app/com.netbeast.yeti.debug-2/base.apk"],
nativeLibraryDirectories=[/data/app/com.startup.app.debug-2/lib/arm,
/data/app/com.startup.app.debug-2/base.apk!/lib/armeabi-v7a,
/vendor/lib, /system/lib]]
For more info: the error comes from a library used in the native side. This is a project with react native that has a package called react-native-mauron85-background-geolocation
I make a project and test it.
I test in my device Galaxy S7(Mashmellow), it works fine, but another device SHV-205(Kitkat), it occurs error like this.
09-23 15:24:45.981 10438-10438/com.thewell.thewell_dev.companylink E/AndroidRuntime: FATAL EXCEPTION: main
Process: com.thewell.thewell_dev.companylink, PID: 10438
java.lang.RuntimeException: Unable to instantiate activity ComponentInfo{com.thewell.thewell_dev.companylink/com.thewell.thewell_dev.fourslink.Activity.SplashActivity}: java.lang.ClassNotFoundException: Didn't find class "com.thewell.thewell_dev.fourslink.Activity.SplashActivity" on path: DexPathList[[zip file "/data/app/com.thewell.thewell_dev.companylink-1.apk"],nativeLibraryDirectories=[/data/app-lib/com.thewell.thewell_dev.companylink-1, /vendor/lib, /system/lib]]
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2306)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2471)
at android.app.ActivityThread.access$900(ActivityThread.java:175)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1308)
at android.os.Handler.dispatchMessage(Handler.java:102)
I use android studio.
I test it and upload to Google play store, but it works fine.
I don't know why this problem occurs this error.
please help me
I faced this Error already, and found the solution myself,
If you are placed you splashscreen activity in your Activity package, please move it to outer package(Main package)
as shown in below Image..!
I imported the latest master folder (master branch 26-12-2014) to Android-Studio,Gradle build the project successfully after little fix (asset missing,inner fragment static error) then i launched the debugger on my device (samsung galaxy 3 min,Android 4.1.2),I expect to have Osmand running on my device but the application crashes and the log indicate that it happen on getting routing.xml file.
12-26 10:47:10.069 10508-10508/net.osmand.plus E/AndroidRuntime﹕ FATAL EXCEPTION: main
java.lang.RuntimeException: Unable to create application net.osmand.plus.OsmandApplication: java.lang.IllegalStateException: java.lang.IllegalArgumentException
at android.app.ActivityThread.handleBindApplication(ActivityThread.java:4200)
at android.app.ActivityThread.access$1400(ActivityThread.java:134)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1278)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loop(Looper.java:137)
at android.app.ActivityThread.main(ActivityThread.java:4867)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:511)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1007)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:774)
at dalvik.system.NativeStart.main(Native Method)
Caused by: java.lang.IllegalStateException: java.lang.IllegalArgumentException
at net.osmand.router.RoutingConfiguration.getDefault(RoutingConfiguration.java:171)
at net.osmand.plus.helpers.AvoidSpecificRoads.getBuilder(AvoidSpecificRoads.java:44)
at net.osmand.plus.helpers.AvoidSpecificRoads.<init>(AvoidSpecificRoads.java:38)
at net.osmand.plus.OsmandApplication.onCreate(OsmandApplication.java:168)
Thanks.
Make sure that there is a folder named "router" inside your "OsmAnd/scr/net/osmand/" folder which contains the routing.xml file.
If not you can find the resources needed here