can not install using sdk on cygwin - cygwin

I tried to install gradle using sdk, but it failed, and I have no idea why
sdk install gradle 6.2
Downloading: gradle 6.2
In progress...
Warning: Failed to create the file /home/nydia/.sdkman/tmp/gradle-6.2.bin: No
Warning: such file or directory
curl: (23) Failed writing body (0 != 8602)
mv: cannot stat '/home/nydia/.sdkman/tmp/gradle-6.2.bin': No such file or directory
I saw a similar question, he solved with add curl on cygwin package, but I already got curl on cygwin. I'm not sure why it still not work. Can somebody help me out?

Related

Android Studio "Could not find installation home path"

I am getting the following error when trying to start Android Studio in a Linux env (using Projector). I have tried to reinstall AS multiple times, but the error persists. Any ideas what I am doing wrong?
2022-03-08 09:04:39,045 [ 20] ERROR - oncurrency.BoundedTaskExecutor - Could not find installation home path. Please make sure bin/idea.properties is present in the installation directory.
java.lang.RuntimeException: Could not find installation home path. Please make sure bin/idea.properties is present in the installation directory.
Thanks,
Markus

A problem occurred configuring project ':CordovaLib

When I try to compile using
ionic cordova build --release android
I get the following error message...What might be the reason..
BUILD FAILED in 0s
cmd: Command failed with exit code 1 Error output:
FAILURE: Build failed with an exception.
* What went wrong:
A problem occurred configuring project ':CordovaLib'.
> No toolchains found in the NDK toolchains folder for ABI with prefix: mips64el-linux-android
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
* Get more help at https://help.gradle.org
BUILD FAILED in 0s
[ERROR] An error occurred while running subprocess cordova.
cordova build android --release exited with exit code 1.
Re-running this command with the --verbose flag may provide more information.
It depends on what version of the Android NDK you are using. The suppport for MIPS and MIPS64 abis was stopped in NDK r17 (see Android NDK official documentation). This is because MIPS-based Android devices are completely obsolete. You need to use NDK r16 or older for it to work. You can download older NDK releases here. Alternativeley, as suggested here, you can just copy the corresponding directories from the NDK r17 (or older) in the r18 ndk-bundle/toolchains. The ones in the r17 are actually empty with a little notice that says that the directories were left there for compatibility. This last option is what I have done and it worked for me.
Its the problem with NDK tool chains file missing in NDK bundle, to resolve this issue make sure you properly install the NDK bundle, still if you cant fine try to download externally and place in the right path.
If your not using NDK tools for your app you can remove the entire folder of NDk and it will work fine with a warning message that NDK tools files missed

aapt: error in executable

I just installed android-studio on my kubuntu 17.10 pc.
After creating a new project, android-studio tries to sync it and gradle shows the following error.
Error-Log
I found already some answers here but they didn't work out.
I ran gradle as root, reinstalled android studio, removed the gradle cache folder, reinstalled the sdk, downloaded the sdk from the google page etc.
I can provide more information if you need some.
Update: I tested to execute aapt2 by hand with aapt2 m and got the error in format of executable
Kind regards

Android Studio Error -> "The following SDK component was not installed: extra-google-m2repository"

I have installed Android Studio and when I run it I get this message:
Android SDK was installed to C:\Users\Nathan\AppData\Local\Android\sdk
Refresh Sources:
Fetched Add-ons List successfully
Refresh Sources
Installing Archives:
Preparing to install archives
Download interrupted: URL not found.
Done. Nothing was installed.
The following SDK component was not installed: extra-google-m2repository
I have tried everything in similar posts I found here on stackoverflow, suck us downloading the plugin files of another version, and none worked for me.
Why is this happening?
I had the same problem. I started the sdk-manager manually and it installed lots of packages. After finishing and restart android-studio it started normally.

Grabble project sync failed

I have installed Android Studio. When I launch the program, there is the following error.
"Failed to find: com.android.support:appcompat-v7:10.+"
I have checked the SDK manager, Android Support Library and Android are installed.
Maybe my question appears to be stupid but I didn't find any answer.
[EDIT] I changed the
com.android.support:appcompat-v7:10.+
to:
compile 'com.android.support:appcompat-v7:21.0.2'
Now I have more than 400 lines of not found files:
http://pastebin.com/Sa4scRH1
In you build.gradle you have in the dependency section a line containing this string:
compile 'com.android.support:appcompat-v7:10.+'
replace it with this one:
compile 'com.android.support:appcompat-v7:21.0.2'
You are using there a quite old version of the compat library just use the newest one v21.0.2. If this still fails install the support repository from the SDK Manager.

Resources