I figured I would just post this message that I sent to Erel and give the source to the project since it is an open source project to begin with. Anyway...
I have a library I am trying to create off of another app. This app is an engine that plays adventure games. The app has a library and then an android app that acts as a front end. I am trying to create a B4A library that can access the engine so that I can include the engine prebuilt into the app, instead of having the user re-download the app seperately.
My project files for eclipse is here: http://adventurestockpile.com/workspace.zip
It includes everything you need. I already wrote a class and such for the Library, but I am having some issues after exporting the library. Just to explain this further:
The Project in the workspace that is called "AGS Engine Library" contains the compiled Engine and the Android Interface thats wrapped around it as its running. "AGS Game Launcher" is the launcher front end for the engine. I probably do not need that. However, there is a function called "Startgame" in there that I mimic in my class. The Class folder project that I am using to write my B4A library is called "AGSRunTime4". You will see that I have a "startgame" function in there.
Basically, in B4A, I wanted to include the library, declare it somewhat like this:
Dim EngineRT as RunAGS
And then to start the engine, I would just fill in these parameters so it reads something like:
EngineRT.StartGame("SpaceQuest", False)
On the face of it, in B4A, it works. However, when I try to compile the project, I get this error:
Signing package file (private key) Error
jarsigner: unable to sign jar: java.util.zip.ZipException: duplicate entry: AndroidManifest.xml
Any Idea's? Anything else wrong with my class?
I have a library I am trying to create off of another app. This app is an engine that plays adventure games. The app has a library and then an android app that acts as a front end. I am trying to create a B4A library that can access the engine so that I can include the engine prebuilt into the app, instead of having the user re-download the app seperately.
My project files for eclipse is here: http://adventurestockpile.com/workspace.zip
It includes everything you need. I already wrote a class and such for the Library, but I am having some issues after exporting the library. Just to explain this further:
The Project in the workspace that is called "AGS Engine Library" contains the compiled Engine and the Android Interface thats wrapped around it as its running. "AGS Game Launcher" is the launcher front end for the engine. I probably do not need that. However, there is a function called "Startgame" in there that I mimic in my class. The Class folder project that I am using to write my B4A library is called "AGSRunTime4". You will see that I have a "startgame" function in there.
Basically, in B4A, I wanted to include the library, declare it somewhat like this:
Dim EngineRT as RunAGS
And then to start the engine, I would just fill in these parameters so it reads something like:
EngineRT.StartGame("SpaceQuest", False)
On the face of it, in B4A, it works. However, when I try to compile the project, I get this error:
Signing package file (private key) Error
jarsigner: unable to sign jar: java.util.zip.ZipException: duplicate entry: AndroidManifest.xml
Any Idea's? Anything else wrong with my class?
Last edited: