Android_boot_image_editor
Android_boot_image_editor copied to clipboard
./gradlew: No such file or directory
I cant unpack boot.img file, it writes this error: ./gradlew: No such file or directory. I've checked if everything is installed: Reading package lists... Done Building dependency tree... Done Reading state information... Done device-tree-compiler is already the newest version (1.6.0-1). g++ is already the newest version (4:10.2.1-1). gcc is already the newest version (4:10.2.1-1). git is already the newest version (1:2.33.0-1). lz4 is already the newest version (1.9.3-2). openjdk-11-jdk is already the newest version (11.0.12+7-2). python3 is already the newest version (3.9.2-3). xz-utils is already the newest version (5.2.5-2). zlib1g-dev is already the newest version (1:1.2.11.dfsg-2). 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
What's wrong?
Run it again with debugging enabled.
./gradlew unpack --scan
Please paste the full log and your testing "boot.img". Thanks
./gradlew unpack --scan -bash: ./gradlew: No such file or directory Uploading boot.zip…
It's weird. BTW, have you installed jdk?
openjdk-11-jdk is already the newest version (11.0.12+7-2).
Kindly navidate to the _$PATH{}_
where there exists a file gradlew
.
In this case, you should navigate the directory where you have cloned the repository.
This should fix your problem.
Additionally you might face the error, ./gradlew: Permission denied
To fix this you have to make the file executable, simply use, chmod +x gradlew
.
Now you'll be able to use ./gradlew unpack
Close it now, hope the problem is not there anymore ~