【发布时间】:2017-05-29 18:53:31
【问题描述】:
当我清理构建我的 Cordova 应用程序时,它会正确构建,但是当我单击运行时,它会出现以下问题:
E:\trash\morning\platforms\android\src\org\apache\cordova\camera\CordovaUri.java
错误:(6, 34) 错误: 包 android.support.v4.content 不存在 E:\trash\morning\platforms\android\src\com\adobe\phonegap\push\GCMIntentService.java
错误:(18, 30) 错误: android.support.v4.app 包不存在
Error:(19, 30) 错误:包 android.support.v4.app 不存在
Error:(20, 49) 错误:包 android.support.v4.app.NotificationCompat 不存在
错误:(332, 65) 错误: 包 NotificationCompat 不存在
Error:(379, 72) 错误:包 NotificationCompat 不存在
错误:(389, 99) 错误: 包 NotificationCompat 不存在
错误:(407, 85) 错误: 包 NotificationCompat 不存在
错误:(480, 89) 错误:包 NotificationCompat 不存在
错误:(497, 75) 错误: 包 NotificationCompat 不存在
错误:(516, 75) 错误:包 NotificationCompat 不存在
错误:(532, 117) 错误: 包 NotificationCompat 不存在
错误:(561, 134) 错误:包 NotificationCompat 不存在
Error:(579, 75) 错误:包 NotificationCompat 不存在
错误:(236, 27) 错误: 包 NotificationCompat 不存在 错误:(237, 39) 错误: 包 NotificationCompat 不存在
错误:(338, 45) 错误: 包 NotificationCompat 不存在 错误:(338, 97) 错误: 包 NotificationCompat 不存在 错误:(361, 39) 错误: 包 NotificationCompat 不存在
Error:(362, 50) 错误:包 NotificationCompat.Action 不存在
错误:(371, 37) 错误: 找不到符号类 WearableExtender
错误:(425, 35) 错误: 包 NotificationCompat 不存在 错误:(425, 89) 错误:包 NotificationCompat 不存在 错误:(435, 35) 错误:包 NotificationCompat 不存在 错误:(435, 81) 错误: 包 NotificationCompat 不存在 错误:(445, 31) 错误: 包 NotificationCompat 不存在 错误:(445, 83) 错误:包 NotificationCompat 不存在 错误:(457, 31) 错误: 包 NotificationCompat 不存在 错误:(457, 77) 错误: 包 NotificationCompat 不存在
错误:(521, 33) 错误:找不到符号变量 NotificationCompat
错误:(521, 80) 错误:找不到符号变量 NotificationCompat
E:\trash\morning\platforms\android\src\org\apache\cordova\camera\CameraLauncher.java
Error:(64, 34) 错误:包 android.support.v4.content 不存在
错误:(295, 40) 错误: 找不到符号变量 FileProvider
错误:(797, 39) 错误: 找不到符号变量 FileProvider
错误:任务“:compileDebugJavaWithJavac”执行失败。
编译失败;有关详细信息,请参阅编译器错误输出。 信息:构建失败
【问题讨论】:
标签: android cordova android-studio hybrid