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

Getting error react native 0.68 on android (Plugin with id ‘maven’ not found. ) #35

Open
bfk1690 opened this issue Apr 20, 2022 · 26 comments

Comments

@bfk1690
Copy link

bfk1690 commented Apr 20, 2022

I am getting error when buil project on android.
build.gradle file error Plugin with id ‘maven’ not found.

Please help me.

@bfk1690 bfk1690 changed the title Getting error react native 0.88 on android (Plugin with id ‘maven’ not found. ) Getting error react native 0.68 on android (Plugin with id ‘maven’ not found. ) Apr 20, 2022
@clement66000
Copy link

Same issue here

@AftabUfaq
Copy link

any solution

@liaostr
Copy link

liaostr commented Nov 1, 2022

Same issue here

@Rais30
Copy link

Rais30 commented Nov 11, 2022

face the same issues here

@hkhawar21
Copy link

I am facing the same issue as well
I am using Expo Managed Workflow for my app

Expo SDK: 46
React Native Version: 0.69.6

@MrAbhishekSingh
Copy link

Screenshot from 2022-12-07 19-58-34

@MrAbhishekSingh
Copy link

Screenshot from 2022-12-07 19-58-34

go to nodemodule and change maven to maven-publish

@bfk1690
Copy link
Author

bfk1690 commented Dec 13, 2022

Screenshot from 2022-12-07 19-58-34

go to nodemodule and change maven to maven-publish

Has anyone tried this solution?

@MrAbhishekSingh
Copy link

Yes go to you node module and search same pack name and go to build.gradle and search maven and change maven to maven-publish

@hkhawar21
Copy link

@MrAbhishekSingh are you using expo managed workflow?

@MrAbhishekSingh
Copy link

@MrAbhishekSingh are you using expo managed workflow?

No,it's react native cli

@fajrur
Copy link

fajrur commented Dec 22, 2022

Screenshot from 2022-12-07 19-58-34

go to nodemodule and change maven to maven-publish

Thank you, it's worked for me

@Bimbimz
Copy link

Bimbimz commented Dec 25, 2022

node_modules\react-native-ip-sec-vpn\android\build.gradle' line: 152
Configuration with name 'compile' not found.

how to fix this?

@Bimbimz
Copy link

Bimbimz commented Dec 29, 2022

Screenshot from 2022-12-07 19-58-34

what version of react are you using?
iam try 0.68.2 and 0.69.6 but not work.
when i change maven to maven-publish it just creates a new problem:

  • Configuration with name 'compile' not found.
  • Could not find mavenDeployer() for arguments.

@AbhishekSinghT
Copy link

Can you share me the actual problem with screen shot

@Bimbimz
Copy link

Bimbimz commented Dec 29, 2022

Can you share me the actual problem with screen shot

Screenshot 55

Configuration with name 'compile' not found.

@AbhishekSinghT
Copy link

AbhishekSinghT commented Dec 29, 2022

Just go to down in same page and comment out the code ..you can take ref from this image

@AbhishekSinghT
Copy link

If you are developing VPN app so you can use this library:-. https://www.npmjs.com/package/react-native-simple-openvpn

@Bimbimz
Copy link

Bimbimz commented Dec 29, 2022

Can you explain in more detail which lines should I comment out?
I see your image is broken.

i had success with react-native-simple-openvpn.
but somehow its not working after release on playstore.

@AbhishekSinghT
Copy link

You have some line added in your project then you can build. Your app its also work on in playstore.
You can read this page and add that line in your project it's will help for you..
https://stackoverflow.com/questions/71206844/vpn-is-not-connecting-after-uploading-android-app-bundle-aab-to-play-store

Some day ago I'm also faced same problem in my app not working after deployed on playstore
But now it's working:- https://play.google.com/store/apps/details?id=com.uaevpn

@Bimbimz
Copy link

Bimbimz commented Dec 29, 2022

Wow shocking news.
I deleted the project and don't have a backup after trying to repair and upload it up to 3x to playstore. it took about 7days to see results from playstore with results they ask for a video how to run it. maybe that's why they suspect that my app is spam.

@Bimbimz
Copy link

Bimbimz commented Dec 29, 2022

yes i also see react-native-ipsec-vpn gives the same argument.
android.bundle.enableUncompressedNativeLibs

@Bimbimz
Copy link

Bimbimz commented Jan 5, 2023

You have some line added in your project then you can build. Your app its also work on in playstore. You can read this page and add that line in your project it's will help for you.. https://stackoverflow.com/questions/71206844/vpn-is-not-connecting-after-uploading-android-app-bundle-aab-to-play-store

Some day ago I'm also faced same problem in my app not working after deployed on playstore But now it's working:- https://play.google.com/store/apps/details?id=com.uaevpn

release thx
https://play.google.com/store/apps/details?id=com.bimlind.vpn

@zoobibackups
Copy link

I have new package for this please use this. best for both android and iOS .
https://github.com/shadow-boy/react-native-vpn-ipsec

@AbhishekSinghT
Copy link

AbhishekSinghT commented Apr 18, 2023

I have new package for this please use this. best for both android and iOS . https://github.com/shadow-boy/react-native-vpn-ipsec

user authentication failed in this package any solution?

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

12 participants