I faced the same problem and I solved it doing the following:
Go to /home/[USER]/Android/Sdk/tools and execute:
$android list sdk -a
Which will show a list like:
- Android SDK Tools, revision 24.0.2
- Android SDK Platform-tools, revision 23.0.2
- Android SDK Platform-tools, revision 23.0.1
… and many more
Then, execute the command (attention! at your computer the third option may be different):
$android update sdk -a -u -t 3
It will install the 23.0.1 SDK Platform-tools components.
Try to build your project again.
Related Posts:
- adb server is out of date. killing
- react-native: command not found
- How to use su command over adb shell?
- How can I get the android-support-v4.jar file (from Android Support Library) on Linux?
- React Native: JAVA_HOME is not set and no ‘java’ command could be found in your PATH
- Unable to load script from assets index.android.bundle on windows
- ‘App not Installed’ Error on Android
- Draw a transparent circle onto a filled android canvas
- Can’t start Eclipse – Java was started but returned exit code=13
- google console error `OR-IEH-01`
- Install an apk file from command prompt?
- Unity remote 5 not working
- Error: No toolchains found in the NDK toolchains folder for ABI with prefix: llvm
- recyclerview No adapter attached; skipping layout
- ‘adb’ is not recognized as an internal or external command, operable program or batch file
- recyclerview No adapter attached; skipping layout
- Enable VT-x in your BIOS security settings (refer to documentation for your computer)
- NetworkType.UNMETERED vs NetworkType.METERED – PeriodicWork
- Find all Bluetooth devices (headsets, phones etc) nearby, without forcing the devices in discoverable mode
- “Default Activity Not Found” on Android Studio upgrade
- How to install APK from PC?
- ERROR Android emulator gets killed
- Android device does not show up in adb list
- how to overcome Android Studio cannot resolve symbol for android classes
- ADB Android Device Unauthorized
- Error “File google-services.json is missing from module root folder. The Google Services Plugin cannot function without it”
- What is the meaning of Log.i()
- How to recompile with -Xlint:deprecation
- Execution failed app:processDebugResources Android Studio
- How can I use adb over WiFi?
- Android Emulator Error Message: “PANIC: Missing emulator engine program for ‘x86’ CPUS.”
- How to convert int to Integer
- Facebook login NullPointerException
- “Failed to install the following Android SDK packages as some licences have not been accepted” error
- How to use ScrollView in Android?
- What is com.google.android.gms.persistent and why is it always using the CPU?
- IllegalStateException: Can not perform this action after onSaveInstanceState with ViewPager
- How to create a Custom Dialog box in android?
- Parcelable encountered IOException writing serializable object getactivity()
- Unfortunately Launcher3 has stopped working error in android studio?
- onActivityResult() not called
- “com.example is restricted” when uploading APK to Play Store
- How do we use runOnUiThread in Android?
- Android basics: running code in the UI thread
- Error getGoogleAppId failed with status: 10 Android KitKat – GCM and Google Drive
- Error:Execution failed for task ‘:app:transformClassesWithDexForDebug’
- Horizontal ListView in Android?
- How to add .gif Animation in unity Scene ? Does Unity support Animated GIFS?
- Rotating a view in Android
- How to customize a Spinner in Android
- Android error “unable to find explicit activity class”
- Can not resolve method ‘findViewById(int)’
- Cannot resolve symbol ‘context’
- Dialog throwing “Unable to add window — token null is not for an application” with getApplication() as context
- How to get current time and date in Android
- Mipmaps vs. drawable folders
- Gradle DSL method not found: ‘compile()’
- how to use getSharedPreferences in android
- What is the meaning of android.intent.action.MAIN?
- Set transparent background of an imageview on Android
- Play sound on button click android
- How to make the corners of a button round?
- Disable back button in android
- How to clear gradle cache?
- Converting pixels to dp
- ADB error: cannot connect to daemon
- How do I download the Android SDK without downloading Android Studio?
- Error:com.android.tools.aapt2.Aapt2Exception: AAPT2 error: check logs for details
- Running Node.Js on Android
- ClassLoader referenced unknown path: /data/app/
- Unknown URL content://downloads/my_downloads
- How to inflate one view with a layout
- android edittext onchange listener
- Delete child from firebase [duplicate]
- How to authorize and accept ADB RSA key with broken touch screen on Android
- Determining translationX/Y values for ObjectAnimator; how to move a view to an exact screen position?
- Android getText from EditText field
- Error: Could not automatically detect an ADB binary. Some emulator functionality will not work until a custom path to ADB is added in the extended…
- How to make layout with rounded corners..?
- Warning: Do not place Android context classes in static fields; this is a memory leak (and also breaks Instant Run)
- How to solve failed to find build tools revision 26.0.2?
- Why is the Android emulator screen blank?
- Android Fragment no view found for ID?
- How do I “select Android SDK” in Android Studio?
- How to disable action bar permanently
- Exception ‘open failed: EACCES (Permission denied)’ on Android
- Manifest Merger failed with multiple errors in Android Studio
- hardcoded string “row three”, should use @string resource
- E/Surface﹕ getSlotFromBufferLocked: unknown buffer: 0xab7519c0
- How to handle .tar.md5 files
- Why am I getting Permission Denied when trying to push a Sqlite file to my rooted Android device?
- What is Activity.finish() method doing exactly?
- Scrollview can host only one direct child
- Android – Command not found
- How to determine the version of Gradle?
- Android studio- “SDK tools directory is missing”
- adb devices return error: protocol fault (no status)
- sendUserActionEvent() is null
- SDK Location not found in android studio
- Android app unable to start activity componentinfo