我正在尝试使用openfl-gpg和openfl-gps-lib在我的 HaxePunk 游戏中使用 Google Play 服务。不幸的是,当我尝试构建时,出现以下错误:
BUILD FAILED
E:\Development\Android SDK\tools\ant\build.xml:577: com.android.io.StreamException: java.io.FileNotFoundException: E:\PROJETS\Tarmac\TMM\bin\android\bin\deps\google-play-services_lib\AndroidManifest.xml (Le fichier spécifié est introuvable)
at com.android.io.FileWrapper.getContents(FileWrapper.java:93)
at com.android.xml.AndroidManifest.getStringValue(AndroidManifest.java:410)
at com.android.xml.AndroidManifest.getPackage(AndroidManifest.java:146)
at com.android.ant.ComputeDependencyTask$1.processLibrary(ComputeDependencyTask.java:198)
at com.android.ant.DependencyHelper$AdvancedLibraryProcessor.processLibrary(DependencyHelper.java:69)
at com.android.ant.DependencyHelper.processLibraries(DependencyHelper.java:210)
at com.android.ant.GetLibraryPathTask.execute(GetLibraryPathTask.java:183)
at com.android.ant.GetLibraryPathTask.execute(GetLibraryPathTask.java:162)
at com.android.ant.ComputeDependencyTask.execute(ComputeDependencyTask.java:226)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:292)
at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
at org.apache.tools.ant.Task.perform(Task.java:348)
at org.apache.tools.ant.Target.execute(Target.java:435)
at org.apache.tools.ant.Target.performTasks(Target.java:456)
at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1393)
at org.apache.tools.ant.Project.executeTarget(Project.java:1364)
at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
at org.apache.tools.ant.Project.executeTargets(Project.java:1248)
at org.apache.tools.ant.Main.runBuild(Main.java:851)
at org.apache.tools.ant.Main.startAnt(Main.java:235)
at org.apache.tools.ant.launch.Launcher.run(Launcher.java:280)
at org.apache.tools.ant.launch.Launcher.main(Launcher.java:109)
Caused by: java.io.FileNotFoundException: E:\PROJETS\Tarmac\TMM\bin\android\bin\deps\google-play-services_lib\AndroidManifest.xml (Le fichier spécifié est introuvable)
at java.io.FileInputStream.open(Native Method)
at java.io.FileInputStream.<init>(FileInputStream.java:120)
at com.android.io.FileWrapper.getContents(FileWrapper.java:91)
... 24 more
Total time: 0 seconds
Build halted with errors.
我试图将一个空的AndroidManifest.xml放在它丢失的地方,但我又遇到了另一个错误。所以我猜我做错了什么,但我不知道是什么。
任何想法?
感谢您的时间。