jmpessoa / lazandroidmodulewizard

LAMW: Lazarus Android Module Wizard: Form Designer and Components development model!
247 stars 82 forks source link

Update to support Gradle 4.1.0 [by ADiV] #451

Closed tr3esoftware closed 2 years ago

tr3esoftware commented 2 years ago

With this update we will be able to use the minimum Gradle 4.1.0 plugin recommended by Google and we will be able to activate the native debugging code.

In an already created app we need to remove android:minSdkVersion="16" from "AndroidManifest.xml" which is not necessary in gradle since we use build.gradle. If it is not deleted, it generates a compilation error. Then "Clean and Build" and "Build Android Apk"

Update to support Gradle 4.1.0: classpath 'com.android.tools.build:gradle:4.1.0' ndk { debugSymbolLevel 'FULL' }