Android问题-No resource found that matches the given name (at 'theme' with value '@style/CaptureTheme').

问题现象:在看一个实例中写到的,提示如下:

[PAClient Error] Error: E2312 C:\Users\zhujq-a\Desktop\Android实例之实现扫描二维码并生成二维码\Android\Debug\Project1\AndroidManifest.xml:53: error: Error: No resource found that matches the given name (at 'theme' with value '@style/CaptureTheme').

问题原因:引入activity后,找不到 Android 的资源。

问题处理:

合并 Android 和 Embarcadero 的数据文件。

1.把 Android 的资源复制到项目目录。

2.打开Deployement功能。

3.打包你需要的文件。