[Android-development] Template changes

ekke gentz ekke at ekkes-corner.org
Fri Mar 6 18:04:13 CET 2020


To check what is changed for Android I always do this
1. check git so no local changes pending
2. create new Android templates
3. check my git to see what's changed, deleted or new
4. copy those changed or new files to a folder outside my project to analyze
5. undo local changes from git so my project has same state as before
6. then I do neccessary changes

Of course would be great for each Qt Release to have some documentation what's changed in templates and why




  Ursprüngliche Nachricht  


Von: jhihn at gmx.com
Gesendet: 6. März 2020 17:52
An: android-development at lists.qt-project.org
Betreff: [Android-development] Template changes


Is there anywhere a template change is communicated?
I recently tries to migrate my 5.12 project to 5.14.1. On iOS it went fine, on Android it failed. I *think* it is because of template changes. Which leaves me in the position of having to create a new project and reverse engineer the changes.

Can we communicate what is being changed with the template when those changes happen? It would be nice to know before hand the amount of work required for the port before finding out it's not trivial. (And then figuring out what that work is)

The exact issue I am having is that the native functions are not being found.
For example:
extern "C" {
// STATIC methods for JAVA
JNIEXPORT void JNICALL Java_com_company_app_MyActivity_batteryChanged(JNIEnv* env, jobject jo, jstring batteryState, double level) { ... }

}

Is found in 5.12, but not 5.14. Can anyone advise on that specifically?

Thanks.
_______________________________________________
Android-development mailing list
Android-development at qt-project.org
https://lists.qt-project.org/listinfo/android-development


More information about the Android-development mailing list