ClassLoader referenced unknown path
It's been few weeks now and not sure if you have figured it out or not.
I ran into an issue where my app wouldn't connect to the localhost web service from my device. It worked fine on the emulator.
My console was showing the same warning message as your's.
Here are my troubleshooting steps to fix it:
- Uninstalled the app from my phone
- Deleted the directories created by
this app earlier, on my phone - Disabled instant-run
- Restarted my phone
Having failed to fix it even after these steps, I looked at my phone connections and found that the wi-fi was disabled. Enabled the wi-fi and enabled instant-run and the happy days are back.
Lesson learnt is that the warning message you are seeing is irrelevant in my case.
Hope this helps.
Android app launch first time launch is taking more time even some time 30 sec and more
Finally found answer after more then 16 days all thanks to you @Amir. Correct answer is to disabling instant run then run. There is a strange issue with newly released Android Studio 2.0 & 2.1. first time of launching application take longer than usual this issue happens only in debug mode and not effect your released APK.
Settings/Preferences(Mac) → Build, Execution, Deployment → Instant Run and uncheck Instant Run
Android App is taking too much time to load for the first time after installation, showing blank screen
Uninstall the apk, turn off Instant Run (if enabled) - File>Settings>Build,Deployment>Instant Run and try runnning/installing again
Android Instant Run First-time takes too much time to launch app after installed
Hello I am also facing this issue when i update my Android Studio 2.0
This issue is resolved by changing minSDKVersion from 14 to 16 and change the gradle version to 2.4. This will work fine.
Time taken on first run with AS 2.0 and gradle 2.0
there seems some issue with it, whenever i am running my app for first
time, it is showing while/black screen for 10-15 seconds.
I guess you have issue of Cold Start in your application.
Cold Start :
When a user launches an application, Android creates a new process
that, during it charge, shows a black/white screen which is built with
the application theme, or the theme of the activity that is the entry
point.This load can be increased if our application is complex and
overwrites the application object, which is normally used to
initialize the analytics, error reporters, etc.
Solution :
- Specify
android:windowBackground
in your application theme. - Add Splash screen to your app.
For detailed information please check, http://saulmm.github.io/avoding-android-cold-starts
Thanks.
Android app first start is very slow and systrace shows 30 seconds of bindApplication
it is problem of instant run.
i had once this kind of problem and i solve if by disable instant run.
here is same question and you can find your answer in comment of question.
First launch take long time (ClassLoader referenced unknown path)
Related Topics
How to Use Getsystemservice in a Non-Activity Class (Locationmanager)
Visual Studio (2015) Emulator for Android Not Working - Xde.Exe - Exit Code 3
Android - How to Make Slide Menu Like Facebook, Spotify and Google +
Facebook - "Cannot Query Users by Their Username" Solution
Ripple Effect on Android Lollipop Cardview
Using Resultreceiver in Android
In Android Edittext, How to Force Writing Uppercase
Android: Determine Security Type of Wifi Networks in Range (Without Connecting to Them)
Flutter Run Error:You Have Not Accepted the License Agreements
Android Fade in and Fade Out with Imageview
How to Make My Android App Appear in the Share List of Another Specific App
Check If Battery Optimization Is Enabled or Not for an App
Android Java.Lang.Noclassdeffounderror
Launch Activities from Different Package
Download the Android Sdk Components for Offline Install