Noclassdeffounderror after removing external API (Youtube)

Asked

Viewed 48 times

2

I’m developing a cool project and I came across a difficulty that I couldn’t get out yesterday, the project stopped recognizing all api’s, butterknife, Youtube, everything...

Follow the error:

Noclassdeffounderror: Class not found using the boot class Loader; no stack available

Didn't find class "com.fasterxml.jackson.databind.ObjectMapper" on path: DexPathList[[zip file "/data/app/br.com.dev_sirox.bandmember-2/base.apk", zip file "/data/app/br.com.dev_sirox.bandmember-2/split_lib_dependencies_apk.apk", zip file "/data/app/br.com.dev_sirox.bandmember-2/split_lib_slice_0_apk.apk", zip file "/data/app/br.com.dev_sirox.bandmember-2/split_lib_slice_1_apk.apk", zip file "/data/app/br.com.dev_sirox.bandmember-2/split_lib_slice_2_apk.apk", zip file "/data/app/br.com.dev_sirox.bandmember-2/split_lib_slice_3_apk.apk", zip file "/data/app/br.com.dev_sirox.bandmember-2/split_lib_slice_4_apk.apk", zip file "/data/app/br.com.dev_sirox.bandmember-2/split_lib_slice_5_apk.apk", zip file "/data/app/br.com.dev_sirox.bandmember-2/split_lib_slice_6_apk.apk", zip file "/data/app/br.com.dev_sirox.bandmember-2/split_lib_slice_7_apk.apk", zip file "/data/app/br.com.dev_sirox.bandmember-2/split_lib_slice_8_apk.apk", zip file "/data/app/br.com.dev_sirox.bandmember-2/split_lib_slice_9_apk.apk"],nativeLibraryDirectories=[/vendor/lib, /system/lib]]
  • I believe it has to do with Android Manifest, because it had included a class there, I will see more when the night comes home

  • I believe it has to do with Android Manifest, because it had included a class there, I will see more when the night comes home

  • Add the error in the question, don’t let the error depend on external query to the site.

1 answer

0


Your error doesn’t show in which line it breaks? One of the answers below can help you solve your problem.

1- Try "Clean" and "Sync Project with Gradle Files". Run your project

2- It may be that your package in manifest.xml and your Mainactivity are different.

3- Disable "Instant Run"

  • It breaks when it calls Firebase and Youtube class, that is, any API

  • I added the bug at the top

  • could post the manifest as well?

  • by what I researched, this type of error happens because of temporary files, or some wrong package declaration in the manifest.

  • try to uninstall the app and install again.

  • old, nothing occurred bug error in my Android Studio, in the company where I work was with the same bug and had updated, solved, old fucking, sinister thing that fucks up out of nowhere! I did this last procedure Disable "Instant Run" and solved!!! But I like this feature!!!

  • I agree with you, it’s a very good resource! but it gives problems.

  • Turns and moves it does not recognize changes made in the project, and apparently causes this error too.

  • Friend, if the answer helped you mark as the correct answer because it can help other people, grateful!

  • I disabled the Instant run and resolved...thanks for the help ^^

Show 5 more comments

Browser other questions tagged

You are not signed in. Login or sign up in order to post.