Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Android Java Exception #3

Closed
futer24 opened this issue May 20, 2019 · 12 comments
Closed

Android Java Exception #3

futer24 opened this issue May 20, 2019 · 12 comments

Comments

@futer24
Copy link

futer24 commented May 20, 2019

05-20 15:30:22.007 6687 6767 E Unity : AndroidJavaException: java.lang.ClassNotFoundException: com.unity3d.backgrounddownload.BackgroundDownload
05-20 15:30:22.007 6687 6767 E Unity : java.lang.ClassNotFoundException: com.unity3d.backgrounddownload.BackgroundDownload
05-20 15:30:22.007 6687 6767 E Unity : at java.lang.Class.classForName(Native Method)
05-20 15:30:22.007 6687 6767 E Unity : at java.lang.Class.forName(Class.java:453)
05-20 15:30:22.007 6687 6767 E Unity : at java.lang.Class.forName(Class.java:378)
05-20 15:30:22.007 6687 6767 E Unity : at com.unity3d.player.UnityPlayer.nativeRender(Native Method)
05-20 15:30:22.007 6687 6767 E Unity : at com.unity3d.player.UnityPlayer.c(Unknown Source:0)
05-20 15:30:22.007 6687 6767 E Unity : at com.unity3d.player.UnityPlayer$c$1.handleMessage(Unknown Source:157)
05-20 15:30:22.007 6687 6767 E Unity : at android.os.Handler.dispatchMessage(Handler.java:105)
05-20 15:30:22.007 6687 6767 E Unity : at android.os.Looper.loop(Looper.java:207)
05-20 15:30:22.007 6687 6767 E Unity : at com.unity3d.player.UnityPlayer$c.run(Unknown Source:20)
05-20 15:30:22.007 6687 6767 E Unity : Caused by: java.lang.ClassNotFoundException: Didn't find class "com.unity3d.backgrounddownload.BackgroundDownload" on path: DexPathList[[zip file "/system/framework/org.apache.http.legacy.boot.jar", zip file "/data/app/com.dreamvr.app-teTJPn0kld-PS3kU1p1LSw==/base.apk"],nativeLibraryDirectories=[/data/app/com.dreamvr.app-teTJPn0kld-PS3kU1p1LSw

@nostalgicbear
Copy link

@futer24 Is this issue occurring for you on Android devices running 9.0 specifically?

@aurimasc
Copy link
Collaborator

aurimasc commented Sep 5, 2019

Where have you placed this library? Note, that Plugins folder from this package should be directly under Assets, not under subdirectory.

@andreamva03
Copy link

I'm having the same issue here, and the Plugins folder is directly under Assets

@aurimasc
Copy link
Collaborator

I'm having the same issue here, and the Plugins folder is directly under Assets

Which Unity version are you using?

@PaulineEy
Copy link

I am using Unity 2019.3.6f1 and I am having the same issue on Android.
I placed the Plungin folder under Assets like the documentation told it.
Thank you.

@Simulanis-Dev-RohitSharma

Hi @PaulineEy folder structure must be like this
Assets->Plugins->(Full downloaded files).
It is "Plugins" folder instead of "Plugin" folder.

@PaulineEy
Copy link

I have everything under the Plugins folder but I still have the error.
What did I do wrong ?
image

@Simulanis-Dev-RohitSharma

@PaulineEy download full project and put that inside Plugins folder.
Screenshot 2020-04-20 at 5 22 47 PM

@PaulineEy
Copy link

Thank you but now I have an other error : Invalid value for visibility: 2
Even if my writting permission is set to External
image

@Simulanis-Dev-RohitSharma

@PaulineEy refer the link below.
#15

@PaulineEy
Copy link

Thank you ! Actually I was not in the right branch, I downloaded the project from the "2019-3-and-older" branch and it works.

@Simulanis-Dev-RohitSharma

@PaulineEy by the way this version also works.
:)
Happy to help you
@futer24 please close this issue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants