I can't run react-native project on android simulator - react-native

A problem occurred configuring project ':app'.
failed to find Build Tools revision 23.0.1

Open the Android SDK Manager (on Mac start a new shell and run
android); in the window that appears make sure you check:
Android SDK Build-tools version 23.0.1
Android 6.0 (API 23)
Local Maven repository for Support Libraries (this is called Android Support Repository in older versions)
Click "Install Packages"

Related

difficulty in phone setup with android studio

Failed to install the following Android SDK packages as some licences have not been accepted.
build-tools;30.0.2 Android SDK Build-Tools 30.0.2
To build this project, accept the SDK license agreements and install the missing components using the Android Studio SDK Manager.
Alternatively, to transfer the license agreements from one workstation to another, see http://d.android.com/r/studio-ui/export-licenses.html
Using Android SDK: /Users/harshit/Library/Android/sdk
Are you using Android Studio? if so try to install it from the Preferences > Appearance & Behavior > System Settings > Android SDK > Install Licensing Library and any other libraries that you are missing.

Error in USB debugging live testing in React Native

I am new to React Native and I install React Native and I want to test using y device (Realme 2).
Using USB debugging, but I am stuck on this same mobile using Android Studio runs in ADB.
This stucks at this position I await multiple 15m
info Starting JS server...
info Installing the app...
Configure project :app
File C:\Users\Muhammed Sajid Ali.android\repositories.cfg could not be loaded.
Checking the license for package Android SDK Platform 28 in D:\sajid\AndroidSdk\licenses
License for package Android SDK Platform 28 accepted.
Preparing "Install Android SDK Platform 28 (revision: 6)".
<======-------> 50% CONFIGURING [15m 0s]
:app
I solved this.
I earlier installed the Android SDK 8, 7.4.4, and 9 versions, but my mobile was 8.1. That’s why
it didn't start and it was downloading SDK 8.1. As I saw in the Android SDK folder, there was a new folder with some files.
Then I downloaded the 8.1 SDK, and it ran perfectly.
I think that was no problem with your compiler behavior, but I can suggest you to check if installing the app from USB is permitted in your phone's developer option and try to trigger the compiler with pressing return key (or enter) on the command line. That was working on mine.

error in setting of android in sdk and gradle to run cordova comand in ionic

I’m setting up a new apk in ionic and want to run app in mobile to release apk
. This is windows
ANDROID_SDK_ROOT=undefined (recommended setting)
ANDROID_HOME=D:\sdk (DEPRECATED)
Could not find an installed version of Gradle either in Android Studio,
or on your system to install the gradle wrapper. Please include gradle
in your path, or install Android Studio
If you are using Cordova version >= 7 or Android SDK Tools >= 26 you need to manually install gradle (reference). On Windows you can install gradle like this:
Download the binary release from https://gradle.org/releases/
Unzip it to any folder you like, for example C:\gradle
Edit your system environment variables to include the directory C:\gradle\bin (where gradle.bat is located`)
Afterwards you should be able to build your project normally.

IBMApplicationCenter.apk fails to install on Android 5.1

I have MobileFirst 7.1 installed and I downloaded the IBMApplicationCenter.apk onto Android 5.1 phone. When I install it says "app not installed".
I set "allow unknown sources" and searched for any previous apps. How else can I debug this .. or is this version of the apk too old ?
From the phrasing of your question it does seem like you are using an incompatible version?
As part of the Application Center installation you have the AppCenter source - an Android project. You need to build that project into an .apk and you need to make sure that your development environment supports Android 5.1 - the configuration in AndroidManifest.xml.
What have you configured?

AIR with Android Emulator?

is it possible to debug AIR applications with the Android Emulator?
this is now possible by using Target apk-debug with the AIR 2.5 ADT. from the AIR 2.5 release notes:
Packaging targets
The AIR Developer Tool (ADT) supports new target options for building Android application packages (APK files):
Target apk: Creates a release APK package suitable for distribution. (Packages created with this target cannot be installed on an Android emulator.)
Target apk-emulator: Creates a release-mode APK package for installation on an Android emulator.
Target apk-debug: Creates a debug-mode APK package that can be installed on both Android emulators and devices.