cocoscreator2.3.3 安卓空项目编译报错

什么都没有的空项目,ndk r16,target28,编译安卓报错如下

  • What went wrong:
    Execution failed for task ‘:game:processReleaseFeatureResources’.

Android resource linking failed
Output: error: resource style/TextAppearance.Compat.Notification.Info (aka org.cocos2dx.javascript:style/TextAppearance.Compat.Notification.Info) not found.
error: resource style/TextAppearance.Compat.Notification.Info (aka org.cocos2dx.javascript:style/TextAppearance.Compat.Notification.Info) not found.
error: resource style/TextAppearance.Compat.Notification.Info (aka org.cocos2dx.javascript:style/TextAppearance.Compat.Notification.Info) not found.
error: resource style/TextAppearance.Compat.Notification (aka org.cocos2dx.javascript:style/TextAppearance.Compat.Notification) not found.
error: resource style/TextAppearance.Compat.Notification (aka org.cocos2dx.javascript:style/TextAppearance.Compat.Notification) not found.
error: resource style/TextAppearance.Compat.Notification (aka org.cocos2dx.javascript:style/TextAppearance.Compat.Notification) not found.
error: resource style/TextAppearance.Compat.Notification.Time (aka org.cocos2dx.javascript:style/TextAppearance.Compat.Notification.Time) not found.
error: resource style/TextAppearance.Compat.Notification.Time (aka org.cocos2dx.javascript:style/TextAppearance.Compat.Notification.Time) not found.
error: resource style/TextAppearance.Compat.Notification.Time (aka org.cocos2dx.javascript:style/TextAppearance.Compat.Notification.Time) not found.
error: resource style/TextAppearance.Compat.Notification.Title (aka org.cocos2dx.javascript:style/TextAppearance.Compat.Notification.Title) not found.
error: resource style/TextAppearance.Compat.Notification.Title (aka org.cocos2dx.javascript:style/TextAppearance.Compat.Notification.Title) not found.
error: resource style/TextAppearance.Compat.Notification.Title (aka org.cocos2dx.javascript:style/TextAppearance.Compat.Notification.Title) not found.
error: failed linking references.

Command: C:\Users\zone.gradle\caches\transforms-1\files-1.1\aapt2-3.2.0-4818971-windows.jar\96dda1479d366d684a5eea8f5b1ec260\aapt2-3.2.0-4818971-windows\aapt2.exe link -I
F:\Android-SDK\platforms\android-29\android.jar
–manifest
C:\NewProject\build\jsb-link\frameworks\runtime-src\proj.android-studio\game\build\intermediates\merged_manifests\releaseFeature\processReleaseFeatureManifest\merged\AndroidManifest.xml
-o
C:\NewProject\build\jsb-link\frameworks\runtime-src\proj.android-studio\game\build\intermediates\processed_res\releaseFeature\processReleaseFeatureResources\out\resources-releaseFeature.ap_
-R
@C:\NewProject\build\jsb-link\frameworks\runtime-src\proj.android-studio\game\build\intermediates\incremental\processReleaseFeatureResources\resources-list-for-resources-releaseFeature.ap_.txt
–auto-add-overlay
–java
C:\NewProject\build\jsb-link\frameworks\runtime-src\proj.android-studio\game\build\generated\not_namespaced_r_class_sources\releaseFeature\processReleaseFeatureResources\r
–proguard
C:\NewProject\build\jsb-link\frameworks\runtime-src\proj.android-studio\game\build\intermediates\proguard-rules\feature\release\aapt_rules.txt
–custom-package
org.cocos2dx.javascript
-0
apk
–output-text-symbols
C:\NewProject\build\jsb-link\frameworks\runtime-src\proj.android-studio\game\build\intermediates\symbols\feature\release\R.txt
–no-version-vectors
Daemon: AAPT2 aapt2-3.2.0-4818971-windows Daemon #7

顶一下…

空文件夹吧有

我把缺的文件夹都补上了还是报这个错误,2.3.3随便创个工程你能编译通过吗?还是只有我有这个问题

这个文件夹里随便扔个东西试试

这是哪个文件夹里的,我是win7系统

重装ndk r18后编译通过了