我在我的mashine上安裝了Android工作室,並使用提示命令導入了使用cordova創建的項目。現在,如果我選擇名爲android的文件夾的index.html並嘗試運行模擬器,我會收到以下錯誤。我正在使用最新版本的Cordova 4.3.0。Cordova:Android工作室模擬器不起作用
Error:(23, 1) error: package org.apache.cordova does not exist
Error:(25, 35) error: cannot find symbol class CordovaActivity
Error:(27, 5) error: method does not override or implement a method from a supertype
Error:(30, 9) error: cannot find symbol variable super
Error:(31, 9) error: cannot find symbol variable super
Error:(33, 17) error: cannot find symbol variable launchUrl
錯誤:執行失敗的任務':compileDebugJava'。
Compilation failed; see the compiler error output for details.
檢查這些解決方案: 1)http://stackoverflow.com/questions/18283180/java-package-org- apache-cordova-does-exist-exist-compliling-cordova-in-and 2)http://stackoverflow.com/questions/24134420/package-org-apache-cordova-does-not-exist 3)http://stackoverflow.com/questions/22011405/java-package-org-apache-cordova-does-not-exist-when-compiling-phonegap-projec – codevscolor