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

error: package net.jimmar.unityplugins.PermissionPlease clashes with class of same name #1

Closed
reddy36996 opened this issue Jul 31, 2018 · 4 comments

Comments

@reddy36996
Copy link

Hi Jimmar,
I came across this plugin through stackoverflow link. Plugin seems to be well implemented but it is throwing error while making gradle build from Unity 2017.3. Seems to be minor issue. Please check:

Temp\gradleOut\PermissionPlease\build\generated\source\buildConfig\release\net\jimmar\unityplugins\PermissionPlease\BuildConfig.java:4: error: package net.jimmar.unityplugins.PermissionPlease clashes with class of same name
package net.jimmar.unityplugins.PermissionPlease;

@Randehh
Copy link

Randehh commented Aug 3, 2018

I'm getting the same issue.

@reddy36996
Copy link
Author

@Randehh
I was able to resolve this issue by changing Manifest file inside folder Plugins>Android>PermissionPlease
package="net.jimmar.unityplugins.permissionplease"
to
package="net.jimmar.unityplugins"

i faced one more issue of targetJDK version being old, i had to make jar file again with target jdk version 1.7. Don't know if you will face this issue.

@Randehh
Copy link

Randehh commented Aug 3, 2018

Mm, it will build but it won't work on my phone. It won't find the class this way.

@phuzik
Copy link

phuzik commented Mar 31, 2020

@reddy36996
Do you still have PermissionPlease.jar version java 1.7?

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

3 participants