AndroidIDEOfficial / AndroidIDE

AndroidIDE is an IDE for Android to develop full featured Android apps.
https://m.androidide.com
GNU General Public License v3.0
2.38k stars 311 forks source link

Unable to run gradle #2

Closed PranavPurwar closed 3 years ago

PranavPurwar commented 3 years ago
Gradle Daemons Stopped
cd "/storage/emulated/0/AndroidIDEProjects/TestApp/app"
========== [14:20:29] TASK_BEGIN: Start Completion Services ==========
ANDROIDIDE_HOME/gradle-7.1.1/bin/gradle[39]: dirname: not found
ANDROIDIDE_HOME/gradle-7.1.1/bin/gradle[44]: basename: not found
ANDROIDIDE_HOME/gradle-7.1.1/bin/gradle[81]: uname: not found
ANDROIDIDE_HOME/gradle-7.1.1/bin/gradle[180]: sed: not found
ANDROIDIDE_HOME/gradle-7.1.1/bin/gradle[180]: printf: not found
WARNING: linker: ANDROIDIDE_HOME/openjdk-11.0.1/bin/java: unused DT entry: type 0x1d arg 0x136
CANNOT LINK EXECUTABLE DEPENDENCIES: library "libjli.so" not found
ANDROIDIDE_HOME/gradle-7.1.1/bin/gradle[39]: dirname: not found
ANDROIDIDE_HOME/gradle-7.1.1/bin/gradle[44]: basename: not found
ANDROIDIDE_HOME/gradle-7.1.1/bin/gradle[81]: uname: not found
ANDROIDIDE_HOME/gradle-7.1.1/bin/gradle[180]: printf: not found
ANDROIDIDE_HOME/gradle-7.1.1/bin/gradle[180]: sed: not found
ANDROIDIDE_HOME/gradle-7.1.1/bin/gradle[180]: sed: not found
ANDROIDIDE_HOME/gradle-7.1.1/bin/gradle[180]: printf: not found
ANDROIDIDE_HOME/gradle-7.1.1/bin/gradle[180]: printf: not found
ANDROIDIDE_HOME/gradle-7.1.1/bin/gradle[180]: sed: not found
ANDROIDIDE_HOME/gradle-7.1.1/bin/gradle[180]: sed: not found
ANDROIDIDE_HOME/gradle-7.1.1/bin/gradle[180]: printf: not found
WARNING: linker: ANDROIDIDE_HOME/openjdk-11.0.1/bin/java: unused DT entry: type 0x1d arg 0x136
CANNOT LINK EXECUTABLE DEPENDENCIES: library "libjli.so" not found

These are the output logs

itsaky commented 3 years ago

Hey @PranavPurwar,

It's should be fixed in v1.0.2-alpha. Could you please recheck?

PranavPurwar commented 3 years ago

okay

PranavPurwar commented 3 years ago

@itsaky got a new error

PranavPurwar commented 3 years ago
Getting Daemon status, please wait…
/data/data/com.itsaky.androidide/files/framework/gradle-7.1.1/bin/gradle[39]: dirname: not found
/data/data/com.itsaky.androidide/files/framework/gradle-7.1.1/bin/gradle[44]: basename: not found
/data/data/com.itsaky.androidide/files/framework/gradle-7.1.1/bin/gradle[81]: uname: not found
/data/data/com.itsaky.androidide/files/framework/gradle-7.1.1/bin/gradle[180]: printf: not found
/data/data/com.itsaky.androidide/files/framework/gradle-7.1.1/bin/gradle[180]: sed: not found
WARNING: linker: /data/data/com.itsaky.androidide/files/framework/jdk/bin/java: unused DT entry: type 0x1d arg 0xcf
WARNING: linker: Unsupported flags DT_FLAGS_1=0x8000001
WARNING: linker: /data/data/com.itsaky.androidide/files/framework/jdk/bin/java: unused DT entry: type 0x6ffffef5 arg 0x4e8
WARNING: linker: /data/data/com.itsaky.androidide/files/framework/jdk/bin/java: unused DT entry: type 0x6ffffffe arg 0x4c4
WARNING: linker: /data/data/com.itsaky.androidide/files/framework/jdk/bin/java: unused DT entry: type 0x6fffffff arg 0x1
CANNOT LINK EXECUTABLE: empty/missing DT_HASH in "/data/data/com.itsaky.androidide/files/framework/jdk/bin/java" (built with --hash-style=gnu?)
itsaky commented 3 years ago

What device are you using?

PranavPurwar commented 3 years ago

Android 5.1.1

itsaky commented 3 years ago

I said what device are you using? Not talking about Android version.

PranavPurwar commented 3 years ago

LYF LS-5501

itsaky commented 3 years ago

Currently, this issue cannot be fixed.

The current JDK has some issues with Android 5 (or maybe with Android 6 too, I haven't tested it).

This issue will be updated as soon as we have a fix for it.

itsaky commented 3 years ago

Support has been dropped for Android 5 and 6 from version 1.0.3-alpha.