Closed tobiasmuecksch closed 1 year ago
Same problem here.
Did you found a workaround?
Thanks
@martinbertinat No. I haven't.
Thanks will look into this. Regardless it shouldn't assume and should either support it being specified or read it from the manifest (ideally)
Fixed in 7.0.9
@mlynch Thank you so much, for the quick fix. I've tested it, and it works like a charm!
@mlynch I'm afraid I have to revoke what I said. It doesn't work as expected. After running trapeze, Android Studio cannot start the app in the emulator anymore.
Since I cannot reopen this issue, I have opened a new one here: https://github.com/ionic-team/trapeze/issues/188
Description
As of Capacitor v5 the Android project structure seems to have changed. The
MainActivity.java
file is not located where it formerly was.Trapeze expects the file under this path:
android/app/src/main/java/MainActivity.java
But now it's located under
android/app/src/main/java/io/ionic/starter/MainActivity.java
.Therefore, running
npx @trapezedev/configure run platform-config.yml
results in the following error:Versions
7.0.8
5.0.0
Ventura - 13.3.1 (a)
Reproduction
For reproduction purposes I've created a pristine demo repository with a blank ionic app and only an android platform.
npm i
npx @trapezedev/configure run platform-config.yml