I've installed java/intellij and the following Android SDK:
Note about the sources: in case anyone struggled with that ('cos the sdkmanager neither the intellij are abble to get them) I downloaded manually from https://androidsdkmanager.azurewebsites.net/ .
So, I tried to Build Project:
But, I'm stuck with Run Tasks:
I verified that aapt is branded as Linux, obviously as I downloaded the Linux SDK. So I'm wondering if I can compiile it or replace it...
Or, perhaps, update glib in compat linux libs? It owns glib 2.12 .
So, is there a solution for it?
Code:
$ find Android-SDK-Linux/ -type d -depth 2
Android-SDK-Linux/tools/proguard
Android-SDK-Linux/tools/lib
Android-SDK-Linux/tools/bin
Android-SDK-Linux/tools/support
Android-SDK-Linux/platforms/android-26
Android-SDK-Linux/platforms/android-28
Android-SDK-Linux/build-tools/android-9
Android-SDK-Linux/extras/android
Android-SDK-Linux/extras/google
Android-SDK-Linux/extras/m2repository
Android-SDK-Linux/sources/android-28
Android-SDK-Linux/patcher/v4
Android-SDK-Linux/platform-tools/api
Android-SDK-Linux/platform-tools/lib64
Android-SDK-Linux/platform-tools/systrace
Note about the sources: in case anyone struggled with that ('cos the sdkmanager neither the intellij are abble to get them) I downloaded manually from https://androidsdkmanager.azurewebsites.net/ .
So, I tried to Build Project:
Code:
29/03/19
15:31 Gradle sync started
15:31 Project setup started
15:31 Gradle sync finished in 2s 110ms (from cached state)
15:34 Executing tasks: [:app:generateDebugSources, :app:generateDebugAndroidTestSources, :app:mockableAndroidJar, :app:compileDebugAndroidTestSources, :app:compileDebugUnitTestSources, :app:compileDebugSources]
15:34 Gradle build finished in 6 s 343 ms
15:34 All files are up-to-date
But, I'm stuck with Run Tasks:
Code:
Caused by: No server to serve request. Check logs for details.
...
at com.android.builder.internal.aapt.v2.QueueableAapt2.lambda$compile$0(QueueableAapt2.java:136)
I verified that aapt is branded as Linux, obviously as I downloaded the Linux SDK. So I'm wondering if I can compiile it or replace it...
Code:
$ file /home/marcelbonnet/.local/Android-SDK-Linux/build-tools/28.0.3/aapt2
/home/marcelbonnet/.local/Android-SDK-Linux/build-tools/28.0.3/aapt2: ELF 64-bit LSB shared object, x86-64, version 1 (SYSV), dynamically linked, interpreter /lib64/ld-linux-x86-64.so.2, for GNU/Linux 2.6.24, not stripped
Or, perhaps, update glib in compat linux libs? It owns glib 2.12 .
Code:
[@machine 28.0.3]$ ./aapt2
./aapt2: /lib64/libc.so.6: version `GLIBC_2.14' not found (required by ./aapt2)
./aapt2: /lib64/libc.so.6: version `GLIBC_2.14' not found (required by /usr/home/marcelbonnet/.local/Android-SDK-Linux/build-tools/28.0.3/lib64/libc++.so)
So, is there a solution for it?