diiiary / capacitor-plugin-ios-swipe-back

9 stars 25 forks source link

"not a valid Java package name" error when building on Android #1

Open mattjennings opened 4 years ago

mattjennings commented 4 years ago

When attempting to run an Android app with Capacitor that uses this plugin, I get the following build error in Android Studio:

Package 'com.diiiary.plugin.ios-swipe-back.capacitorpluginiosswipeback' from AndroidManifest.xml is not a valid Java package name as 'ios-swipe-back' is not a valid Java identifier.

Any suggestions on how to go about fixing this?

silviokennecke commented 4 years ago

Hi @mattjennings, we experienced the same issue. It's cause by the incorrect naming of the android package (as the error message clearly tells you). I created a PR which will fix this issue. Util it's merged you can either use my fork by executing npm i https://github.com/silviokennecke/capacitor-plugin-ios-swipe-back. Another way of solving this is simply removing the android part of this package.

mattjennings commented 4 years ago

@silviokennecke oh yes, thanks a ton!

andymark-by commented 3 years ago

For more than a year it is not solved :( The project is abandoned?