0
我試圖建立與Android的目標Android應用:Android的22 我也與Android的17執行失敗的任務「CordovaLib:compileDebugJavaWithJavac」
嘗試,但此錯誤消息出現。
:CordovaLib:compileDebugJavaWithJavacC:\Users\Luis Araujo\Desktop\myApp2\platfor
ms\android\CordovaLib\src\org\apache\cordova\CordovaInterfaceImpl.java:222:erro
r: cannot find symbol
getActivity().requestPermissions(permissions, requestCode);
^
^
* What went wrong:
Execution failed for task ':CordovaLib:compileDebugJavaWithJavac'.
> Compilation failed; see the compiler error output for details.
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug
option to get more log output.
BUIL D FAILED
Total time: 24.973 secs
Error: Error code 1 for command: cmd with args: /s,/c,""C:\Users\Luis Araujo\Des
ktop\myApp2\platforms\android\gradlew" cdvBuildDebug -b "C:\Users\Luis Araujo\De
sktop\myApp2\platforms\android\build.gradle" -Dorg.gradle.daemon=true -Pandroid.
useDeprecatedNdk=true"
你能幫我嗎?