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

problem during weexpack plugin instalation #8

Closed
TecladistaProd opened this issue Aug 18, 2017 · 2 comments
Closed

problem during weexpack plugin instalation #8

TecladistaProd opened this issue Aug 18, 2017 · 2 comments

Comments

@TecladistaProd
Copy link

λ weexpack plugin add nat-media-image
Fetching plugin "nat-media-image" via npm
Installing "nat-media-image@0.2.1" for android
Android Studio project detected
ANDROID_HOME=C:\Android\sdk
JAVA_HOME=C:\Program Files\Java\jdk1.8.0_144
Failed to install 'nat-media-image':Error
at Object.module.exports.check_gradle (C:\Users\Vitor Tecladista\AppData\Roaming\npm\node_modules\weexpack\lib\src\platforms\android_pack\lib\check_reqs.js:90:25)
at GradleBuilder.prepEnv (C:\Users\Vitor Tecladista\AppData\Roaming\npm\node_modules\weexpack\lib\src\platforms\android_pack\lib\builders\GradleBuilder.js:175:23)
at Api.module.exports.runClean (C:\Users\Vitor Tecladista\AppData\Roaming\npm\node_modules\weexpack\lib\src\platforms\android_pack\lib\build.js:133:20)
at C:\Users\Vitor Tecladista\AppData\Roaming\npm\node_modules\weexpack\lib\src\platforms\android_pack\Api.js:395:50
at _fulfilled (C:\Users\Vitor Tecladista\AppData\Roaming\npm\node_modules\weexpack\node_modules\q\q.js:787:54)
at self.promiseDispatch.done (C:\Users\Vitor Tecladista\AppData\Roaming\npm\node_modules\weexpack\node_modules\q\q.js:816:30)
at Promise.promise.promiseDispatch (C:\Users\Vitor Tecladista\AppData\Roaming\npm\node_modules\weexpack\node_modules\q\q.js:749:13)
at C:\Users\Vitor Tecladista\AppData\Roaming\npm\node_modules\weexpack\node_modules\q\q.js:557:44
at flush (C:\Users\Vitor Tecladista\AppData\Roaming\npm\node_modules\weexpack\node_modules\q\q.js:108:17)
at _combinedTickCallback (internal/process/next_tick.js:73:7)
Error: Could not find gradle wrapper within Android SDK. Might need to update your Android SDK.
Looked here: C:\Android\sdk\tools\templates\gradle\wrapper
what do i :?

@acathur
Copy link
Member

acathur commented Aug 18, 2017

Check issue #6

@acathur acathur closed this as completed Aug 18, 2017
@acathur acathur reopened this Aug 18, 2017
@TecladistaProd
Copy link
Author

TecladistaProd commented Aug 18, 2017

谢谢。but for my computer, the directory is other, is c:\android\sdk\tools.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants