question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

android-23 missing

See original GitHub issue

Hiya! So you think it’s broken or missing a feature eh?

Welllllll, it just might be. Do me a favor and check the following.

  • Issue does not already exist
  • Identify exactly what aspect your issue is about
    • ignite base application
    • ignite the cli
    • ignite generated code
    • not sure

Also, for the quickest assistance please run ignite doctor and paste in everything (including the lines with 3 backticks).

I just installed ignite and started the app with react-native run-android but I get the below error:

FAILURE: Build failed with an exception.

* What went wrong:
A problem occurred configuring project ':app'.
> failed to find target with hash string 'android-23' in: /usr/local/opt/android-sdk

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.

BUILD FAILED

I installed the android-sdk with brew but I can’t find a way to install the version 23, I have only the 24.

Computer
  Platform: darwin

Ignite
  Version: 1.10.1
  Path: /Users/<user>/.nvm/versions/node/v6.9.1/bin/ignite

Node
  Version: v6.9.1
  Path: /Users/<user>/.nvm/versions/node/v6.9.1/bin/node

NPM
  Version: 3.10.8
  Path: /Users/<user>/.nvm/versions/node/v6.9.1/bin/npm

Yeoman
  Version: 1.8.5

React Native CLI
  Version: 1.0.0

App
  React Native Version: 0.35.0

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:6 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
rhmndntcommented, Mar 25, 2017

I got this error when run “ignite new <App>”. I am sure I have installed android sdk 23, is it because Android have removed command line tool?

I got this when try “android list” The android command is no longer available. For manual SDK and AVD management, please use Android Studio. For command-line tools, use tools/bin/sdkmanager and tools/bin/avdmanager

1reaction
GantMancommented, Oct 23, 2016

Gonna make this a task then.

When you ignite a project, it should check for which android and android list | grep "android-23" If either of those two are missing, a warning will be displayed to the user that they must install them.

Read more comments on GitHub >

github_iconTop Results From Across the Web

failed to find target with hash string android-23 - Stack Overflow
I tried changing targetSdkVersion and compileSdkVersion to 22. This causes the error message to change to "android-22" instead of "android-23".
Read more >
Issues - GitHub
Error:failed to find target with hash string 'android-23' Install missing platform(s) and sync project.</a> #102.
Read more >
Package id platforms;android-23: error! [closed]
1 Answer 1 · Open android studio · Click on Tools > Android > SDK Manager · Go in the SDK Platform tab....
Read more >
VisualStudio_android_-23_x86_phone and tablet avd's are ...
VisualStudio_android_-23_x86_phone and tablet avd's are gone and i can't get ... I'm cautious of using VS knowing some part of it is corrupted...
Read more >
Use the NDK with other build systems - Android Developers
The NDK contains official support for ndk-build and CMake. Most users should refer to one of those guides for building application code. The ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found