问题
I am developing a personal medicine time reminder application.It is working almost properly except the fact that it is stopping after notifying the medicine time a few times. While monitoring the log cat of the application i found that it is stopping the alarm receiver after getting the following Warning.
W/System: ClassLoader referenced unknown path: /data/app/com.example.sakkar.medicineschedular-2/lib/arm
Can anyone help me to solve this problem?
回答1:
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.
来源:https://stackoverflow.com/questions/45044405/classloader-referenced-unknown-path