MENU
 






SIBYL System 

just technical blog 





> 

> 

React NativeAndroid 



       



 

ANDROID_HOME


 






1
2
3
4
5
FAILURE: Build failed with anexception.
 
* What went wrong:
A problem occurred configuring project ':app'.
> SDK location not found. Define location with sdk.dir in the local.properties file or with anANDROID_HOME environment variable.



Android StudioSDK
 






1
$ ~/Library/Android/sdk



.bash_profileANDROID_HOME
 






1
2
3
$ echo 'export ANDROID_HOME=~/Library/Android/sdk' >> ~/.bash_profile
$ echo 'export PATH=$ANDROID_HOME/bin:$PATH' >> ~/.bash_profile
$ echo 'export PATH=$ANDROID_HOME/platform-tools:$PATH' >> ~/.bash_profile




 






1
$ source ~/.bash_profile



ANDROID_HOME
 






1
2
$ echo $ANDROID_HOME
$ echo $PATH



 


 






1
2
3
4
5
6
7
8
FAILURE: Build failed with anexception.
 
* What went wrong:
A problem occurred configuring project ':app'.
> You have not accepted the license agreements ofthe following SDK components:
  [Android SDK Platform 23, Android SDK Build-Tools 23.0.1].
  Before building your project, you need to accept the license agreements and complete the installation ofthe missing components using the Android Studio SDK Manager.
  Alternatively, to learn how to transfer the license agreements from one workstation to another, goto http://d.android.com/r/studio-ui/export-licenses.html




 






1
~/Library/Android/sdk/tools/bin




 






1
./sdkmanager --licenses




Unhandled JS Exception: Application odc has not been registered.


 






1
2
3
4
5
6
Unhandled JSException: Application odc has not been registered.
 
Hint: This error often happens when you're running the packager (local dev server) from a wrong folder. For example you have multiple apps and the packager is still running for the app you were working on before.
If this is the case, simply kill the old packager instance (e.g. close the packager terminal window) and start the packager in the correct app folder (e.g. cd into app folder and run 'npm start').
 
This error can also happen due to a require() error during initialization or failure to call AppRegistry.registerComponent.



kill
 






1
psaux | grep react



 

Could not connect to development server


AndroidUSB

 

adb reverse error closed


Android 5.0adb reverseWifi

https://stackoverflow.com/questions/31525431/getting-error-closed-twice-on-adb-reverse


(一)Wi-Fi

(二)IP

(三)react-native run-android 

(四)dismiss

(五)Dev Settings

(六)Debug server host & port for dev IP:
IP2.IP8081


 

 

 -  Android, React Native ,  











B!  

LINE  




  




 



PREV

JavaScriptmapfor  

NEXT

PactCDC testing  






 
 

no image
Beat my weaknesses: Dynamic Programming 


Hi there, how about your quarantine life  





no image
Trying Codata. 


Codota is a tool what AI completions for  






React Native Play Store 


  androi  






PactCDC testing 


CDC testing  CDCConsumer-Driven Cont  






React NativeAndroid 


  ANDROID_HOME [crayon-66a  










Beat my weaknesses: Dynamic Programming  

Trying Codata.  

React Native Play Store  

PactCDC testing  

React NativeAndroid  




20205

20204

20182

20181

201712

201711

201710

20179

20177

20176

20174

20173

20172

20171

201612

201611

201610

20169

20168

20167

20166

20165

20164

20163

20162

20161

201512

201511

20158

20157

20156

20155

20154

20153

20152

20151

201412

201411

20148
 



Analytics

Android

AngularJS

Ansible

Apache

Arduino

ART

AWS

CentOS

CentOS 7

Chrome

CSS

Deep Learning

Design

DIY

Eclipse

Fabric

github

golang

iOS

Java

Javascript

Kernel

Linux

Mac

Node

PHP

Pivotal CF

Playframework

Playframework(Scala)

Postgresql

Raspberry Pi

React

React Native

VS Code

vvvv

Windows




















 





稿



WordPress.org
 





 
2024年7
1234567
891011121314
15161718192021
22232425262728
293031  

analytics android Ansible apache Arduino art AWS CentOS6.5 Chrome css Deep learning Design ec2 eclipse ECMAScript elb ES6 ES2015 fabric git golang hackathon iam iOS java javascript jQuery Linux Node php playbook playframework playframework2 postgresql python raspberry Pi 2 rds S3 scala windows Yahoo yum

 

React NativeAndroid 


just technical blog  

Copyright©  SIBYL System ,  2024 All Rights Reserved.