Questions tagged [android-sdk-tools]
SDK Tools is a downloadable component for the Android SDK. It includes the complete set of development and debugging tools for the Android SDK.
1,248
questions
0
votes
0
answers
16
views
Error when merging DEX file containing classes with prefix 'j$.'
I am trying to use the d8 tool for building a dex file from an instrumented Android app. The instrumentation consists on using JavaMOP monitors to identify possible misuses of crypto-APIs.
For ...
0
votes
0
answers
33
views
How to solve android sdk error in android studio?
The following SDK components were not installed:
Sources for Android 34 and Android Emulator
java.net.SocketTimeoutException: Read timed out
Warning: An error occurred while preparing SDK
package ...
-1
votes
0
answers
11
views
Python code for finding most probable path using electronic horizon?
We have an SDK named Mapbox Navigation SDK. This SDK has a feature called Mapbox Electronic Horizon which determines the most likely path a user may take and provides a most probable path (MPP). How ...
-3
votes
0
answers
19
views
getting errors when i tried to run the application
^^^^^^^^^^^^^^^^^^
/D:/flutter/packages/flutter/lib/src/material/app_bar.dart:182:5: Error: Expected a class member, but got 'super'.
super.key,
^^^^^
/D:/flutter/packages/flutter/lib/src/material/...
0
votes
0
answers
65
views
CMake will not be able to correctly generate this project. CMake Error at CMakeLists.txt:2 (project): No CMAKE_CXX_COMPILER could be found
I am facing an issue with Gradle Wrapper build samples. Issue related to CMAKE.
Following versions of software currently installed in my system.
python version: 2.7.18 (as it is required for the ...
0
votes
0
answers
74
views
Error accepting android licenses on mac. Trying to set up for Flutter development on Mac
I am following the start up documentation here to set up Flutter on Mac.
I get the following from running flutter doctor
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (...
1
vote
1
answer
117
views
Android SDK Not Found Macos - React Native Setup
I am facing Error even after having correct env paths and sdk Installed, When I run yarn react-native doctor, it shows that no sdk verion found, below is attached s shot
Here is my env vars in zsh ...
0
votes
0
answers
19
views
android studio error says no installed build tools, but they are installed?
I installed Android Studio and also installed the build tools under
Tools > SDK Manager > SDK Tools tab > 33.0.2 Installed
The attached picture shows it's installed along with the error. I ...
0
votes
0
answers
27
views
TestNG MacOS Eclipse: /bin/sh: /platform-tools/adb: No such file or directory java.lang.Exception: Adb Connect Command Failed to Exe
I'm currently using TestNG xml in Eclipse on a MacOS system for a simple test script, I'm not sure why I'm getting the error:
Adb Connect Command Failed /bin/sh: /platform-tools/adb: No such file or ...
0
votes
2
answers
504
views
React Native: "Failed to install the app" error due to Android SDK not found (Version 33.0.0)
I'm new to React Native and I'm having trouble getting started with my first project. I've followed the installation steps for React Native, including setting up Java, Android Studio, and the related ...
0
votes
2
answers
51
views
Android namespece not found in c# using statement
I have launced a c# xamarin.forms project that I haven't used for a while and Visual Studio is saying that the using Android.App is not found. The Android namespace has the red underline. This was ...
0
votes
0
answers
25
views
How to prevent flutter from automatically downloading android emulator when 'flutter run' is executed
I am just beginning to learn cross-platform with flutter, but I chose not to use android studio as it is very hardware demanding and I am using low-end PC. I am using VS Code editor and set up ...
0
votes
0
answers
129
views
Adding custom SDK based on Andorid version 11 to Android studio
Error showing in build.gradle file.
Android Version - 11
Android Studio - Giraffe
I am trying to create a custom SDK which contains API developed by me. I want to access these API's in Android Studio....
2
votes
1
answer
1k
views
ReactNative does not install android 33 sdk how to solve it?
react-native needs about android33 so I installed it, but it still asks me to install it
As above, I installed version 33.
However, if you check the contents with react-native doctor,
Android
✖ Adb - ...
0
votes
2
answers
398
views
LinkageError occurred while loading main class com.android.sdklib.tool.sdkmanager.SdkManagerCli
I searched for a possible fix for this but I didn't find any. I tried pretty much all of it. Last test was removing Java and Android from MacOS and installing them again.
I'm using Flutter and when ...
0
votes
0
answers
104
views
ionic cap run android -l --external command throws the following: [ERROR] No devices or emulators found
I'm following the First Ionic App with React tutorial Ionic Tutorial
I'm having a problem in the live reload section of the tutorial Live reload section of the tutorial
when I try to run the ionic cap ...
0
votes
0
answers
18
views
Building android sdk for tracking data in e-commerce apps
I wanted to build an android SDK which can basically be used to track and collect product metrics. Some of the use cases are as below
Whenever user added any product into cart then we should be able ...
0
votes
0
answers
77
views
Android SDK packages as some licences have not been accepted in ubuntu
I am install latest Android Studio Flamingo | 2022.2.1 Patch 1 in ubuntu.
In this show error
FAILURE: Build failed with an exception.
What went wrong:
Could not determine the dependencies of task ':...
0
votes
0
answers
158
views
gradle is throwing me this error "Running Gradle build - failed!" when i run "npx cap run android"
i want to use a software called "db app maker" and it is used to make mobile app with databases.
so i stared installing it's dependency like java, node, ionic, cordova, "gradle" ...
0
votes
1
answer
84
views
Compile and build APK out of Android app source code in Kotlin
I have the source code of an application and wanna modify the source code a bit and build an APK out of the customized source code for personal use.
Problem: I cannot use Android SDK and/or Android ...
0
votes
1
answer
44
views
I install android SDK command-line Tools (latest) and still failed to run when I run flutter doctor --android-licenses
I install android SDK command-line Tools (latest) and still failed to run when I run flutter doctor --android-licenses[[enter image description here](https://i.stack.imgur.com/hmYGA.png)](https://i....
0
votes
1
answer
252
views
Which Android ADB should I keep on Ubuntu?
I noticed that running adb version show an outdated version 28 on my Ubunutu 22.04 system. I'm not sure how adb was previously installed, maybe through the apt package android-sdk-platform-tools?
$ ...
0
votes
1
answer
23
views
How to restructure Android application like shown?
I would like to restructure my android application that uses a module sdk that sdk is dependent to another google.aar.
The main app don't have any src directory, instead they have different android ...
2
votes
1
answer
388
views
Facing a high ANR rate in android 13 devices
I have a critical issue in my Android application. I am facing a high ANR (Application Not Responding) rate, which is occurring exclusively on Android version 13 devices. Despite exhaustive attempts, ...
0
votes
0
answers
28
views
Android Sdk Error in Installing Macos React Native
I have completed almost all the steps for reac native installation. but i am getting android sdk error. I made the android studio settings. i still get error.
I made the android studio settings. the ...
0
votes
1
answer
137
views
Visual Studio for macOS doesn't show connected android device or android virtual devices
I'm having a trouble with my Visual Studio 17.5.6 (build 3). When I want to run or debug my Maui project on my physical device, the upper menu shows only iOS simulators. In Android studio for a Kotlin ...
0
votes
2
answers
1k
views
Android command-line tools: "cmdline-tools component is missing" error
I'm encountering an issue with the Android command-line tools, specifically the error message
"cmdline-tools component is missing."
I'm trying to install the necessary components for ...
0
votes
0
answers
59
views
Installation Android SDK tools / Java SE Development Kit not found
enter image description here
Setting a variable JAVA_HOME (+Path):
C:\Program Files\Java
C:\Program Files\Java\jdk-20
C:\Program Files\Java\jdk-20\bin
Attempt to leave only for the user and only for ...
0
votes
0
answers
145
views
Your Android SDK is missing, out of date or corrupted. (flamingo)
Currently I installed Android Studio Flamingo it is the latest version.
I went through all the process to install it, but I am getting an error
"Your Android SDK is missing, out of date or ...
1
vote
0
answers
244
views
Getting error -Djava.ext is not supported. Use -classpath instead
I am using java 8 and trying to run uiautomatorviewer.bat of Appium tool but I'm getting below error.
Djava.ext.dirs=..\lib\x86_64;..\lib is not supported. Use -classpath instead.
Error: Could not ...
0
votes
0
answers
186
views
How to route audio to both bluetooth headphones and device speaker simultaneously in java or kotlin?
I am trying to develop an app in flutter using which users can listen to from the android device using a bluetooth headphone and device speaker simultaneously. I have referred to android-sdk ...
0
votes
0
answers
80
views
Is there a method to install android SDK manually?
I have Android Studio, without Android SDK.
For some reason, I cannot install android SDK from the software.
I want to download Android SDK from the browser.
Does anybody know how to do it? Or, where ...
0
votes
1
answer
122
views
How to tell when another app stops playing music on Android?
My game uses Android AudioManager to request audio focus and to know when another app takes audio focus. It also uses this function on Resume() to know that an app is playing music so that I can ...
2
votes
1
answer
1k
views
Cannot build Android project with preview compile and target sdk version
I am trying to test how my Android app would work with SDK version UpsideDownCake which is now is a preview version. I apply this version to my app module as following:
android {
compileSdkPreview ...
0
votes
0
answers
47
views
How can I encrypt my app's sandbox on Android?
I need to encrypt my app's sandbox so even if they root the device they can't see my files. Is that something one can do on Android? If so, how?
And if it's not possible, what is the best practices ...
1
vote
0
answers
74
views
Android SDK Build Tool - how to find which dependencies use it?
Context:
I am moving our org's infrastructure to Graviton which has arm64 architecture. Our Android build requires multiple build-tool versions. The lowest best build-tools;30.0.3
Problem:
I cannot ...
0
votes
0
answers
239
views
Android emulator without Android Studio not running
So I want to use the android emulator but didn't want to install the whole android studio since I know that I won't use it.
I have followed this blog post on how to manage this: https://dev.to/...
1
vote
0
answers
151
views
Flutter installs SDK Tools again, even though they exists
[ +1 ms] All projects evaluated.
[+1797 ms] Selected primary task 'assembleDebug' from project :
[+15200 ms] Parsing legacy package: C:\commandlinetools-win-9477386_latest\cmdline-tools
[+1099 ms] ...
0
votes
0
answers
47
views
How to determine which Android Platform-Tools version ships with a specific ADB version?
I need to use a specific version of ADB. To install it, I'm using Android Studio's SDK manager to download Android SDK Platform-Tools, which ADB is a part of. But their versioning system doesn't match ...
0
votes
1
answer
597
views
Failing to install dependencies with sdkmanager inside a Dockerfile
I'm trying to package the dependencies to build an Android application inside a Docker container. As part of the dependencies installation, I'm using sdkmanager to install some dependencies. When ...
1
vote
0
answers
552
views
File "/usr/bin/sdkmanager", line 33, in <module> sys.exit(load_entry_point('sdkmanager==0.5.1', 'console_scripts', 'sdkmanager')())
I have installed android-sdk then sdkmanager both using sudo apt install ... command and the result for sdkmanager --version is as following:
25.2.0
But when I try sdkmanager --update I get:
Traceback ...
1
vote
0
answers
57
views
How to build Android SDK
i need help on building Android SDK for linux ubuntu arm64.
I know there are some people providing Android SDK for arm64 but those are for Android mobile. Then i tried those SDK (SDK for Android ...
3
votes
2
answers
888
views
Why does minSdkVersion 27 -> 28 double APK size?
I recently updated minSdkVersion to 28, compiled a signed release build and noticed that file size increased from 9.2 to 20.3 MB. Changed it back to 27 (only thing changed), cleaned a created a second ...
2
votes
2
answers
347
views
react-native android build fails with execution failed for task ':app:processDebugResources'. , but iOS works
I've configured my office laptop to get the project running. I followed the same approach as another new joiner setup his laptop and his project is working. But mine is not. I used the proper sdk ...
0
votes
0
answers
234
views
Android Studio on Windows, Failed to read or create install properties file
I am trying to install Flutter on Windows 10, part of the installation is to install Android Studio and Android SDK Command-line Tools (latest).
Trying to do so results in this error:
The log file ...
1
vote
1
answer
3k
views
Preparing "Install Android SDK Tools (revision: 26.1.1)". <=============> 100% CONFIGURING [36s] > IDLE
info JS server already running.
info Launching emulator...
info Successfully launched emulator.
info Installing the app...
Starting a Gradle Daemon, 2 incompatible Daemons could not be reused, use --...
0
votes
0
answers
282
views
NoClassDefFoundError when calling apkanalyzer running cordova
I'm setting up an enviroment for deploying android app with cordova. The OS is Xubuntu 20.04.
I downloaded the sdk and jdk11 and set the enviroment variables in ~/.bashrc as follows
export JAVA_HOME=/...
1
vote
0
answers
1k
views
Trying to install Android SDK 31 and NDK 25 for Delphi 10.4 - what to provide in Delphi SDK manager wizards?
I have Delphi 10.4 with default Android SDK 25 installation (located C:\Users\Public\Documents\Embarcadero\Studio\21.0\CatalogRepository\AndroidSDK-2525-21.0.38860.1461) and Andoird NDK 21 ...
0
votes
1
answer
892
views
Apps targeting Android 12 and higher are required to specify an explicit value for `android:exported` - andriod studio
I've updated my SDK version to 31, afterward I get this error. this is my Gradle :
compileSdk 31
buildToolsVersion "30.0.3"
defaultConfig {
applicationId "com.cima.cima4u1"
...
1
vote
0
answers
34
views
Use latest build tools version automatically?
I find that if I do not explicitly specify buildToolsVersion in build.gradle, it will use a very old version even if I have since uninstalled it. I must manually specify the version to have it use ...