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;








1















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/









share|improve this question
























  • Resolved by stackoverflow.com/questions/46896341/…

    – Wojtek Turowicz
    Mar 22 at 16:05

















1















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/









share|improve this question
























  • Resolved by stackoverflow.com/questions/46896341/…

    – Wojtek Turowicz
    Mar 22 at 16:05













1












1








1








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/









share|improve this question
















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/






android react-native android-sdk-tools






share|improve this question















share|improve this question













share|improve this question




share|improve this question








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

















  • 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












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
);



);













draft saved

draft discarded


















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















draft saved

draft discarded
















































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.




draft saved


draft discarded














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





















































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







Popular posts from this blog

1973년 목차 사건 문화 탄생 사망 노벨상 달력 둘러보기 메뉴

SQL error code 1064 with creating Laravel foreign keysForeign key constraints: When to use ON UPDATE and ON DELETEDropping column with foreign key Laravel error: General error: 1025 Error on renameLaravel SQL Can't create tableLaravel Migration foreign key errorLaravel php artisan migrate:refresh giving a syntax errorSQLSTATE[42S01]: Base table or view already exists or Base table or view already exists: 1050 Tableerror in migrating laravel file to xampp serverSyntax error or access violation: 1064:syntax to use near 'unsigned not null, modelName varchar(191) not null, title varchar(191) not nLaravel cannot create new table field in mysqlLaravel 5.7:Last migration creates table but is not registered in the migration table

인천여자상업고등학교 목차 학교 연혁 설치 학과 학교 동문 참고 자료 각주 외부 링크 둘러보기 메뉴북위 37° 28′ 05″ 동경 126° 37′ 41″ / 북위 37.4680025° 동경 126.6279602°  / 37.4680025; 126.6279602인천여자상업고등학교“인천광역시립학교 설치조례 별표1”인천여자상업고등학교 홈페이지eheh문서를 완성해