This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Android manifest | |
<manifest xmlns:android="http://schemas.android.com/apk/res/android" | |
xmlns:tools="http://schemas.android.com/tools" | |
- package="com.example.app" | |
> | |
// Module build.gradle.kts | |
android { | |
+ namespace = "com.example.app" | |
compileSdk = 33 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// gradle.properties | |
android.nonTransitiveRClass=false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Module build.gradle.kts | |
android { | |
buildFeatures { | |
+ buildConfig = true | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// gradle.properties | |
+android.defaults.buildfeatures.buildconfig=true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Module build.gradle.kts | |
android { | |
buildFeatures { | |
+ aidl = true | |
+ renderScript = true | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-val foo = R.drawable.android_ext_lib_2 | |
+val foo = com.example.extra_lib_2.R.drawable.android_ext_lib_2 | |
// gradle.properties | |
-android.nonTransitiveRClass=true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// gradle.properties | |
+android.defaults.buildfeatures.buildconfig=true | |
+android.enableBuildConfigAsBytecode=true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Setting AIDL and RenderScript for the entire project at gradle.properties | |
+android.defaults.buildfeatures.aidl=true | |
+android.defaults.buildfeatures.renderScript=true |