Skip to main content
2 votes
1 answer
159 views

I cannot find the authoritateive answer anywhere. I know that what d8 is and that it performs desugaring. Basically, up to what Java language version can it desugar? I found these websites that list ...
Bartek Pacia's user avatar
  • 1,806
0 votes
1 answer
260 views

I've read How can I build an Android apk without Gradle on the command line? and How to compile an Android app with aapt2 without using any build tools?, but both answers don't seem to align with my ...
ReYuki's user avatar
  • 85
2 votes
1 answer
1k views

Getting this error after updating the Android Gradle Plugin from 7.2.1 to 8.0.2 Android studio - Hedgehog | 2023.1.1 Patch 1 Kotlin version - 1.9.23 Java - 17 Crash log - Caused by: com.android.tools....
Sarang's user avatar
  • 83
2 votes
1 answer
442 views

I wish to port a small utility I prototyped on Windows as a simple app. I use a 10-year old computer, so from what I gather tools like Gradle and Android Studio would run too slow for me to be able to ...
spliblib's user avatar
1 vote
2 answers
10k views

We are facing a peculiar issue while building our Android app. Everything compiles successfully when we develop on one branch. However, as soon as we switch to another branch (any branch other than ...
CalvinChe's user avatar
  • 875
0 votes
0 answers
403 views

As I upgraded agp version from 4.1.0 to 7.4.2 (gradle version 7.5.1), a NoClassDefFoundError exception got and the app crashed. Since I upgraded agp from 4.1.0 to 7.0, dx has deprecated by default and ...
lx94569456's user avatar
9 votes
4 answers
22k views

I have updated all of my project dependencies and I'm getting different Errors of R8. AGPBI: {"kind":"error","text":"java.lang.NullPointerException","...
Nisar Ahmad's user avatar
  • 2,077
1 vote
2 answers
1k views

I used to create dex file with dx.bat like this : "c:\SDKs\android\build-tools\32.0.0\dx.bat" --dex --output=C:\Dev\MagicFoundation\Alcinoe\Tools\AddRJavaToClassesDex\tmp\classes.dex C:\Dev\...
zeus's user avatar
  • 13.4k
0 votes
0 answers
30 views

i happened to encounter some wired compiled bytecode which i believe both sharing the same source code like below class SomeWebView extends WebView { SomeWebView() { this.getSettings(); ...
钵钵鸡实力代购's user avatar
0 votes
1 answer
195 views

Problem (shaped like a 'V'): We having a Java function a() - in a.java (top left of V) a() calls another local function b() implemented via JNI - b.cpp (bottom of V) b() creates an instance of java ...
Habor's user avatar
  • 1
1 vote
1 answer
2k views

I try to understand how a .apk file is built from source code. I know that with Android Studio or with the command gradlew the build can be done easily. The Android Sdk provides multiple tools that ...
JANO's user avatar
  • 3,096
2 votes
0 answers
280 views

Given i added d8.bat to my PATH, I tried to compile a folder of java classes into classes.dex using the modern tool d8 (which replaced dx). However when I followed the example in the documentation, dx ...
Amin Guermazi's user avatar
0 votes
0 answers
196 views

I build a jar for the Android platform with Gradle. When I use the dx command, it works well building a jar with manifest, but dx can't support Java 8 syntax. So I have to change compile tool to d8, ...
DysaniazzZ's user avatar
3 votes
0 answers
238 views

I'm making an Android library for B4A framework. Here's the situation: My Android library uses Java8 features (such as Lambda) B4A (Basic4Android) uses legacy dex (instead of d8) to make the apps and ...
Mahdi-Malv's user avatar
  • 19.7k
1 vote
1 answer
502 views

I'm using Androids d8 compiler from Delphi, and i need to enable MultiDex. In Android Studio you add the following to your Gradle file: defaultConfig { minSdkVersion 14 targetSdkVersion 22 ...
helgovic's user avatar

15 30 50 per page