React Native : target with hash string 'android-28' not found Announcing the arrival of Valued Associate #679: Cesar Manara Planned maintenance scheduled April 23, 2019 at 23:30 UTC (7:30pm US/Eastern) Data science time! April 2019 and salary with experience The Ask Question Wizard is Live!> Failed to find target with hash string 'android-26' in: /opt/android-sdk-linuxHow can I update my ADT in Eclipse?Automatically accept all SDK licencesYou have not accepted the license agreements of the following SDK componentsFailed to find target with hash string 'android-25'Not able to run react native in windows> Failed to find target with hash string 'android-26' in: /opt/android-sdk-linuxBuild failure: React Native AndroidBUILD FAILED error in React Native Android AppHow to solve Failed to find target with hash string 'android-27' in: C:UsersiamprAppDataLocalAndroidsdk while launching app in flutter
What is the purpose of the side handle on a hand ("eggbeater") drill?
Israeli soda type drink
Who's this lady in the war room?
Check if custom CRS already exists, find EPSG
A weird observation
Why these surprising proportionalities of integrals involving odd zeta values?
disable all collections with python in blender 2.8
A thorough explanation on why division by zero is undefined?
Why did Europeans not widely domesticate foxes?
false 'Security alert' from Google - every login generates mails from 'no-reply@accounts.google.com'
Suing a Police Officer Instead of the Police Department
What's the difference between using dependency injection with a container and using a service locator?
TV series episode where humans nuke aliens before decrypting their message that states they come in peace
Writing a t-sql stored procedure to recieve 4 numbers and insert them into a table
Deciphering death certificate writing
`FindRoot [ ]`::jsing: Encountered a singular Jacobian at a point...WHY
What do you call an IPA symbol that lacks a name (e.g. ɲ)?
Protagonist's race is hidden - should I reveal it?
Beamer - mp3 - file does not play
Could typically electronic sounds be generated mechanically?
What helicopter has the most rotor blades?
Marquee sign letters
VBA: Single line if statement with multiple actions
Is it OK if I do not take the receipt in Germany?
React Native : target with hash string 'android-28' not found
Announcing the arrival of Valued Associate #679: Cesar Manara
Planned maintenance scheduled April 23, 2019 at 23:30 UTC (7:30pm US/Eastern)
Data science time! April 2019 and salary with experience
The Ask Question Wizard is Live!> Failed to find target with hash string 'android-26' in: /opt/android-sdk-linuxHow can I update my ADT in Eclipse?Automatically accept all SDK licencesYou have not accepted the license agreements of the following SDK componentsFailed to find target with hash string 'android-25'Not able to run react native in windows> Failed to find target with hash string 'android-26' in: /opt/android-sdk-linuxBuild failure: React Native AndroidBUILD FAILED error in React Native Android AppHow to solve Failed to find target with hash string 'android-27' in: C:UsersiamprAppDataLocalAndroidsdk while launching app in flutter
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty height:90px;width:728px;box-sizing:border-box;
I've got the below problem when trying to build a React Native android app from command line. It is on Ubuntu Server so no Android Studio GUI.
I do have android-28 installed in the folder which the error states.
$ANDROID_HOME is at /home/build/android-tools
build@v-ope-we-build-vm:~/Awesome/android$ ./gradlew assembleRelease --scan
> Configure project :app
Checking the license for package Android SDK Build-Tools 28.0.3 in /home/build/android-tools/licenses
License for package Android SDK Build-Tools 28.0.3 accepted.
Preparing "Install Android SDK Build-Tools 28.0.3 (revision: 28.0.3)".
"Install Android SDK Build-Tools 28.0.3 (revision: 28.0.3)" ready.
Installing Android SDK Build-Tools 28.0.3 in /home/build/android-tools/build-tools/28.0.3
"Install Android SDK Build-Tools 28.0.3 (revision: 28.0.3)" complete.
"Install Android SDK Build-Tools 28.0.3 (revision: 28.0.3)" finished.
Checking the license for package Android SDK Platform 28 in /home/build/android-tools/licenses
License for package Android SDK Platform 28 accepted.
Preparing "Install Android SDK Platform 28 (revision: 6)".
"Install Android SDK Platform 28 (revision: 6)" ready.
Installing Android SDK Platform 28 in /home/build/android-tools/platforms/android-28
"Install Android SDK Platform 28 (revision: 6)" complete.
"Install Android SDK Platform 28 (revision: 6)" finished.
FAILURE: Build failed with an exception.
* What went wrong:
A problem occurred configuring project ':app'.
> Failed to find target with hash string 'android-28' in: /home/build/android-tools
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
* Get more help at https://help.gradle.org
BUILD FAILED in 17s
Publishing a build scan to scans.gradle.com requires accepting the Gradle Terms of Service defined at https://gradle.com/terms-of-service. Do you accept these terms? [yes, no]
yes
Gradle Terms of Service accepted.
Publishing build scan...
https://gradle.com/s/na57rru4ztmpw
EDIT: sdkmanager output
build@v-ope-we-build-vm:~/android-tools$ sdkmanager --list
Installed packages:=====================] 100% Computing updates...
Path | Version | Description | Location
------- | ------- | ------- | -------
build-tools;28.0.3 | 28.0.3 | Android SDK Build-Tools 28.0.3 | build-tools/28.0.3/
platform-tools | 28.0.2 | Android SDK Platform-Tools | platform-tools/
platforms;android-28 | 6 | Android SDK Platform 28 | platforms/android-28/
sources;android-28 | 1 | Sources for Android 28 | sources/android-28/
add a comment |
I've got the below problem when trying to build a React Native android app from command line. It is on Ubuntu Server so no Android Studio GUI.
I do have android-28 installed in the folder which the error states.
$ANDROID_HOME is at /home/build/android-tools
build@v-ope-we-build-vm:~/Awesome/android$ ./gradlew assembleRelease --scan
> Configure project :app
Checking the license for package Android SDK Build-Tools 28.0.3 in /home/build/android-tools/licenses
License for package Android SDK Build-Tools 28.0.3 accepted.
Preparing "Install Android SDK Build-Tools 28.0.3 (revision: 28.0.3)".
"Install Android SDK Build-Tools 28.0.3 (revision: 28.0.3)" ready.
Installing Android SDK Build-Tools 28.0.3 in /home/build/android-tools/build-tools/28.0.3
"Install Android SDK Build-Tools 28.0.3 (revision: 28.0.3)" complete.
"Install Android SDK Build-Tools 28.0.3 (revision: 28.0.3)" finished.
Checking the license for package Android SDK Platform 28 in /home/build/android-tools/licenses
License for package Android SDK Platform 28 accepted.
Preparing "Install Android SDK Platform 28 (revision: 6)".
"Install Android SDK Platform 28 (revision: 6)" ready.
Installing Android SDK Platform 28 in /home/build/android-tools/platforms/android-28
"Install Android SDK Platform 28 (revision: 6)" complete.
"Install Android SDK Platform 28 (revision: 6)" finished.
FAILURE: Build failed with an exception.
* What went wrong:
A problem occurred configuring project ':app'.
> Failed to find target with hash string 'android-28' in: /home/build/android-tools
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
* Get more help at https://help.gradle.org
BUILD FAILED in 17s
Publishing a build scan to scans.gradle.com requires accepting the Gradle Terms of Service defined at https://gradle.com/terms-of-service. Do you accept these terms? [yes, no]
yes
Gradle Terms of Service accepted.
Publishing build scan...
https://gradle.com/s/na57rru4ztmpw
EDIT: sdkmanager output
build@v-ope-we-build-vm:~/android-tools$ sdkmanager --list
Installed packages:=====================] 100% Computing updates...
Path | Version | Description | Location
------- | ------- | ------- | -------
build-tools;28.0.3 | 28.0.3 | Android SDK Build-Tools 28.0.3 | build-tools/28.0.3/
platform-tools | 28.0.2 | Android SDK Platform-Tools | platform-tools/
platforms;android-28 | 6 | Android SDK Platform 28 | platforms/android-28/
sources;android-28 | 1 | Sources for Android 28 | sources/android-28/
Resolved by stackoverflow.com/questions/46896341/…
– Wojtek Turowicz
Mar 22 at 16:05
add a comment |
I've got the below problem when trying to build a React Native android app from command line. It is on Ubuntu Server so no Android Studio GUI.
I do have android-28 installed in the folder which the error states.
$ANDROID_HOME is at /home/build/android-tools
build@v-ope-we-build-vm:~/Awesome/android$ ./gradlew assembleRelease --scan
> Configure project :app
Checking the license for package Android SDK Build-Tools 28.0.3 in /home/build/android-tools/licenses
License for package Android SDK Build-Tools 28.0.3 accepted.
Preparing "Install Android SDK Build-Tools 28.0.3 (revision: 28.0.3)".
"Install Android SDK Build-Tools 28.0.3 (revision: 28.0.3)" ready.
Installing Android SDK Build-Tools 28.0.3 in /home/build/android-tools/build-tools/28.0.3
"Install Android SDK Build-Tools 28.0.3 (revision: 28.0.3)" complete.
"Install Android SDK Build-Tools 28.0.3 (revision: 28.0.3)" finished.
Checking the license for package Android SDK Platform 28 in /home/build/android-tools/licenses
License for package Android SDK Platform 28 accepted.
Preparing "Install Android SDK Platform 28 (revision: 6)".
"Install Android SDK Platform 28 (revision: 6)" ready.
Installing Android SDK Platform 28 in /home/build/android-tools/platforms/android-28
"Install Android SDK Platform 28 (revision: 6)" complete.
"Install Android SDK Platform 28 (revision: 6)" finished.
FAILURE: Build failed with an exception.
* What went wrong:
A problem occurred configuring project ':app'.
> Failed to find target with hash string 'android-28' in: /home/build/android-tools
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
* Get more help at https://help.gradle.org
BUILD FAILED in 17s
Publishing a build scan to scans.gradle.com requires accepting the Gradle Terms of Service defined at https://gradle.com/terms-of-service. Do you accept these terms? [yes, no]
yes
Gradle Terms of Service accepted.
Publishing build scan...
https://gradle.com/s/na57rru4ztmpw
EDIT: sdkmanager output
build@v-ope-we-build-vm:~/android-tools$ sdkmanager --list
Installed packages:=====================] 100% Computing updates...
Path | Version | Description | Location
------- | ------- | ------- | -------
build-tools;28.0.3 | 28.0.3 | Android SDK Build-Tools 28.0.3 | build-tools/28.0.3/
platform-tools | 28.0.2 | Android SDK Platform-Tools | platform-tools/
platforms;android-28 | 6 | Android SDK Platform 28 | platforms/android-28/
sources;android-28 | 1 | Sources for Android 28 | sources/android-28/
I've got the below problem when trying to build a React Native android app from command line. It is on Ubuntu Server so no Android Studio GUI.
I do have android-28 installed in the folder which the error states.
$ANDROID_HOME is at /home/build/android-tools
build@v-ope-we-build-vm:~/Awesome/android$ ./gradlew assembleRelease --scan
> Configure project :app
Checking the license for package Android SDK Build-Tools 28.0.3 in /home/build/android-tools/licenses
License for package Android SDK Build-Tools 28.0.3 accepted.
Preparing "Install Android SDK Build-Tools 28.0.3 (revision: 28.0.3)".
"Install Android SDK Build-Tools 28.0.3 (revision: 28.0.3)" ready.
Installing Android SDK Build-Tools 28.0.3 in /home/build/android-tools/build-tools/28.0.3
"Install Android SDK Build-Tools 28.0.3 (revision: 28.0.3)" complete.
"Install Android SDK Build-Tools 28.0.3 (revision: 28.0.3)" finished.
Checking the license for package Android SDK Platform 28 in /home/build/android-tools/licenses
License for package Android SDK Platform 28 accepted.
Preparing "Install Android SDK Platform 28 (revision: 6)".
"Install Android SDK Platform 28 (revision: 6)" ready.
Installing Android SDK Platform 28 in /home/build/android-tools/platforms/android-28
"Install Android SDK Platform 28 (revision: 6)" complete.
"Install Android SDK Platform 28 (revision: 6)" finished.
FAILURE: Build failed with an exception.
* What went wrong:
A problem occurred configuring project ':app'.
> Failed to find target with hash string 'android-28' in: /home/build/android-tools
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
* Get more help at https://help.gradle.org
BUILD FAILED in 17s
Publishing a build scan to scans.gradle.com requires accepting the Gradle Terms of Service defined at https://gradle.com/terms-of-service. Do you accept these terms? [yes, no]
yes
Gradle Terms of Service accepted.
Publishing build scan...
https://gradle.com/s/na57rru4ztmpw
EDIT: sdkmanager output
build@v-ope-we-build-vm:~/android-tools$ sdkmanager --list
Installed packages:=====================] 100% Computing updates...
Path | Version | Description | Location
------- | ------- | ------- | -------
build-tools;28.0.3 | 28.0.3 | Android SDK Build-Tools 28.0.3 | build-tools/28.0.3/
platform-tools | 28.0.2 | Android SDK Platform-Tools | platform-tools/
platforms;android-28 | 6 | Android SDK Platform 28 | platforms/android-28/
sources;android-28 | 1 | Sources for Android 28 | sources/android-28/
edited Mar 22 at 15:13
Wojtek Turowicz
asked Mar 22 at 14:09
Wojtek TurowiczWojtek Turowicz
2,37022031
2,37022031
Resolved by stackoverflow.com/questions/46896341/…
– Wojtek Turowicz
Mar 22 at 16:05
add a comment |
Resolved by stackoverflow.com/questions/46896341/…
– Wojtek Turowicz
Mar 22 at 16:05
Resolved by stackoverflow.com/questions/46896341/…
– Wojtek Turowicz
Mar 22 at 16:05
Resolved by stackoverflow.com/questions/46896341/…
– Wojtek Turowicz
Mar 22 at 16:05
add a comment |
0
active
oldest
votes
Your Answer
StackExchange.ifUsing("editor", function ()
StackExchange.using("externalEditor", function ()
StackExchange.using("snippets", function ()
StackExchange.snippets.init();
);
);
, "code-snippets");
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "1"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);
else
createEditor();
);
function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55301455%2freact-native-target-with-hash-string-android-28-not-found%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
0
active
oldest
votes
0
active
oldest
votes
active
oldest
votes
active
oldest
votes
Thanks for contributing an answer to Stack Overflow!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55301455%2freact-native-target-with-hash-string-android-28-not-found%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Resolved by stackoverflow.com/questions/46896341/…
– Wojtek Turowicz
Mar 22 at 16:05