有人脉的卖保险,没腰椎病的开滴滴,要减肥锻炼身体的送外卖
android sdk manager 中安装了 Android Support Repository,就可用用命令构建包了,目前问题以解决~
zhongqiandeMacBook-Air:~ zhongqian$ cd /usr/local/lib/node_modules/app-inspector/node_modules/uiautomatorwd
zhongqiandeMacBook-Air:uiautomatorwd zhongqian$ ./gradlew assembleDebug assembleDebugAndroidTest
NDK is missing a "platforms" directory.
If you are using NDK, verify the ndk.dir is set to a valid NDK directory. It is currently set to /Users/zhongqian/android-sdk-macosx/ndk-bundle.
If you are not using NDK, unset the NDK variable from ANDROID_NDK_HOME or local.properties to remove this warning.
A larger heap for the Gradle daemon is recommended for running jack.
It currently has 1024 MB.
For faster builds, increase the maximum heap size for the Gradle daemon to at least 1536 MB.
To do this set org.gradle.jvmargs=-Xmx1536M in the project gradle.properties.
For more information see https://docs.gradle.org/current/userguide/build_environment.html
A larger heap for the Gradle daemon is recommended for running jack.
It currently has 1024 MB.
For faster builds, increase the maximum heap size for the Gradle daemon to at least 1536 MB.
To do this set org.gradle.jvmargs=-Xmx1536M in the project gradle.properties.
For more information see https://docs.gradle.org/current/userguide/build_environment.html
Checking the license for package Android Support Repository in /Users/zhongqian/android-sdk-macosx/licenses
Warning: License for package Android Support Repository not accepted.
FAILURE: Build failed with an exception.
What went wrong:
A problem occurred configuring project ':app'.
You have not accepted the license agreements of the following SDK components:
[Android Support Repository].
Before building your project, you need to accept the license agreements and complete the installation of the missing components using the Android Studio SDK Manager.
Alternatively, to learn how to transfer the license agreements from one workstation to another, go to http://d.android.com/r/studio-ui/export-licenses.html
Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
BUILD FAILED
我用你的命令会出错呢,能帮忙解决吗,谢谢~
Checking the license for package Android Support Repository in /Users/zhongqian/android-sdk-macosx/licenses
Warning: License for package Android Support Repository not accepted.
受益匪浅
学习一下
赞~