Details
-
Task
-
Resolution: Unresolved
-
P2: Important
-
None
-
None
-
None
-
-
2025Season1QtforAndroid
Description
Currently, Qt Creator doesn't offer very good support for writing code in Java/Kotlin, but Android Studio has the right integration for that. Some users might want to write Qt code on Qt Creator and use Android Studio to write Java code. Qt for Android builds android apk under a folder android-build, that folder has all the files needed for Gradle build and also for opening with Android Studio.
The issue with the mentioned approach is that Qt Creator will delete the android-build folder with each build, which will take away any changes done to Java code from Android Studio. Two solutions might be possible to overcome that:
- Editing the Java source independent from the Android package structure that is in android-build. This means lots of many IntelliSense features from Android Studio won't be used.
- Editing the Java code from the android-build folder, then making sure to sync any changes to Java code or manifest and other relevant files, before doing a new build from Qt Creator.
Attachments
Issue Links
- relates to
-
QTCREATORBUG-31278 Unable to debug Android app while Android Studio is running
-
- Reported
-
-
QTBUG-73023 Working with Android Studio regressions (mostly gradle)
-
- Reported
-
- mentioned in
-
Page Loading...