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.
|
1 |
$ ~/Library/Android/sdk |
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 |
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 |
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.
|
1 |
psaux | grep react |
月 | 火 | 水 | 木 | 金 | 土 | 日 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | 5 | 6 | 7 |
8 | 9 | 10 | 11 | 12 | 13 | 14 |
15 | 16 | 17 | 18 | 19 | 20 | 21 |
22 | 23 | 24 | 25 | 26 | 27 | 28 |
29 | 30 | 31 |