Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

can't install natjs #16

Closed
wangyuanfen opened this issue Nov 8, 2017 · 1 comment
Closed

can't install natjs #16

wangyuanfen opened this issue Nov 8, 2017 · 1 comment

Comments

@wangyuanfen
Copy link

wangyuanfen commented Nov 8, 2017

Fetching plugin "nat-communication" via npm
Installing "nat-communication@0.1.7" for android
Android Studio project detected
ANDROID_HOME=C:\Users\Administrator.PC-201706051836\AppData\Local\Android\sdk
JAVA_HOME=D:\JAVA\jdk
Failed to install 'nat-communication':Error
at Object.module.exports.check_gradle (E:\nodejs\node_global\node_modules\weexpack\lib\src\platforms\android_pack\lib\check_reqs.js:90:25)
at GradleBuilder.prepEnv (E:\nodejs\node_global\node_modules\weexpack\lib\src\platforms\android_pack\lib\builders\GradleBuilder.js:175:23)
at Api.module.exports.runClean (E:\nodejs\node_global\node_modules\weexpack\lib\src\platforms\android_pack\lib\build.js:133:20)
at E:\nodejs\node_global\node_modules\weexpack\lib\src\platforms\android_pack\Api.js:395:50
at _fulfilled (E:\nodejs\node_global\node_modules\weexpack\node_modules\q\q.js:787:54)
at self.promiseDispatch.done (E:\nodejs\node_global\node_modules\weexpack\node_modules\q\q.js:816:30)
at Promise.promise.promiseDispatch (E:\nodejs\node_global\node_modules\weexpack\node_modules\q\q.js:749:13)
at E:\nodejs\node_global\node_modules\weexpack\node_modules\q\q.js:557:44
at flush (E:\nodejs\node_global\node_modules\weexpack\node_modules\q\q.js:108:17)
at _combinedTickCallback (internal/process/next_tick.js:131:7)
Error: Could not find gradle wrapper within Android SDK. Might need to update your Android SDK.
Looked here: C:\Users\Administrator.PC-201706051836\AppData\Local\Android\sdk\tools\templates\gradle\wrapper

@acathur
Copy link
Member

acathur commented Nov 8, 2017

Check issue #6 / #10

@acathur acathur closed this as completed Nov 8, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants