From: John C. <jc...@un...> - 2011-04-06 23:58:19
|
I'm able to run the afireworks demo fine using "ant run-Java", but trying to run it on a Google APIs 1.6 emulator using "ant install" gives an error "rejecting opcode 0x6e at 0x0007": see http://pastebin.com/EptG0Zid for logcat output. Any clue as to what I'm doing wrong? -- John Comeau <jc...@un...> http://jc.unternet.net/ "A place for everything, and everything all over the place" |
From: Sascha H. <sa...@xm...> - 2011-04-07 00:01:19
|
Hi John, how did you compile and install the application? Btw: 1.6 is a really old API. Maybe you compiled it for a new version. Try it with a 2.3 emulator. Google APIs are not needed. // Sascha On Thu, Apr 7, 2011 at 1:58 AM, John Comeau <jc...@un...> wrote: > I'm able to run the afireworks demo fine using "ant run-Java", but > trying to run it on a Google APIs 1.6 emulator using "ant install" > gives an error "rejecting opcode 0x6e at 0x0007": see > http://pastebin.com/EptG0Zid for logcat output. Any clue as to what > I'm doing wrong? > -- > John Comeau <jc...@un...> http://jc.unternet.net/ > "A place for everything, and everything > all over the place" > > > ------------------------------------------------------------------------------ > Xperia(TM) PLAY > It's a major breakthrough. An authentic gaming > smartphone on the nation's most reliable network. > And it wants your games. > http://p.sf.net/sfu/verizon-sfdev > _______________________________________________ > xmlvm-users mailing list > xml...@li... > https://lists.sourceforge.net/lists/listinfo/xmlvm-users > |
From: John C. <jc...@un...> - 2011-04-07 00:24:00
|
Hi Sascha, the AndroidManifest.xml that came with the demo shows a versionCode of 3 and a minSdkVersion of 4 (if that means anything; I'm new to Android as well). I built it with a custom Makefile (I hate IDEs) using "make afireworks.android", the result of which is to "cd afireworks && ant -s build.xml.back install". Just tried it on a 2.3.3 level 10 emulator, same result. The build.xml.back existed because after the first failure I moved the existing build.xml to /tmp; updated the project using "android update project --path afireworks"; and migrated it to xvmlm again using "java -jar /usr/src/xmlvm/trunk/xmlvm/dist/xmlvm.jar --skeleton=android:migrate --out=afireworks". Then checked again that it ran fine in the iPhone emulator, despite several warnings about "Unable to resolve resources" (which seem to occur with every xmlvm project). The main reason I'm attempting this is because I can't seem to get anything non-trivial working on both Android and xmlvm, and I'm hoping your demos can help me bridge the gap. Thanks -- jc On Wed, Apr 6, 2011 at 5:00 PM, Sascha Haeberling <sa...@xm...> wrote: > Hi John, > how did you compile and install the application? > Btw: 1.6 is a really old API. Maybe you compiled it for a new version. Try > it with a 2.3 emulator. Google APIs are not needed. > // Sascha > > On Thu, Apr 7, 2011 at 1:58 AM, John Comeau <jc...@un...> wrote: >> >> I'm able to run the afireworks demo fine using "ant run-Java", but >> trying to run it on a Google APIs 1.6 emulator using "ant install" >> gives an error "rejecting opcode 0x6e at 0x0007": see >> http://pastebin.com/EptG0Zid for logcat output. Any clue as to what >> I'm doing wrong? >> -- >> John Comeau <jc...@un...> http://jc.unternet.net/ >> "A place for everything, and everything >> all over the place" >> >> >> ------------------------------------------------------------------------------ >> Xperia(TM) PLAY >> It's a major breakthrough. An authentic gaming >> smartphone on the nation's most reliable network. >> And it wants your games. >> http://p.sf.net/sfu/verizon-sfdev >> _______________________________________________ >> xmlvm-users mailing list >> xml...@li... >> https://lists.sourceforge.net/lists/listinfo/xmlvm-users > > -- John Comeau <jc...@un...> http://jc.unternet.net/ "A place for everything, and everything all over the place" |
From: Sascha H. <sa...@xm...> - 2011-04-07 00:34:07
|
What do you mean by custom makefile? What is this doing? I have to say, if you hate IDEs, Android development will be everything from hard to impossible. I would highly recommend you to install Eclipse with the Android plugins. // Sascha On Thu, Apr 7, 2011 at 2:23 AM, John Comeau <jc...@un...> wrote: > Hi Sascha, the AndroidManifest.xml that came with the demo shows a > versionCode of 3 and a minSdkVersion of 4 (if that means anything; I'm > new to Android as well). I built it with a custom Makefile (I hate > IDEs) using "make afireworks.android", the result of which is to "cd > afireworks && ant -s build.xml.back install". Just tried it on a 2.3.3 > level 10 emulator, same result. > > The build.xml.back existed because after the first failure I moved the > existing build.xml to /tmp; updated the project using "android update > project --path afireworks"; and migrated it to xvmlm again using "java > -jar /usr/src/xmlvm/trunk/xmlvm/dist/xmlvm.jar > --skeleton=android:migrate --out=afireworks". Then checked again that > it ran fine in the iPhone emulator, despite several warnings about > "Unable to resolve resources" (which seem to occur with every xmlvm > project). > > The main reason I'm attempting this is because I can't seem to get > anything non-trivial working on both Android and xmlvm, and I'm hoping > your demos can help me bridge the gap. > > Thanks -- jc > > On Wed, Apr 6, 2011 at 5:00 PM, Sascha Haeberling <sa...@xm...> > wrote: > > Hi John, > > how did you compile and install the application? > > Btw: 1.6 is a really old API. Maybe you compiled it for a new version. > Try > > it with a 2.3 emulator. Google APIs are not needed. > > // Sascha > > > > On Thu, Apr 7, 2011 at 1:58 AM, John Comeau <jc...@un...> wrote: > >> > >> I'm able to run the afireworks demo fine using "ant run-Java", but > >> trying to run it on a Google APIs 1.6 emulator using "ant install" > >> gives an error "rejecting opcode 0x6e at 0x0007": see > >> http://pastebin.com/EptG0Zid for logcat output. Any clue as to what > >> I'm doing wrong? > >> -- > >> John Comeau <jc...@un...> http://jc.unternet.net/ > >> "A place for everything, and everything > >> all over the place" > >> > >> > >> > ------------------------------------------------------------------------------ > >> Xperia(TM) PLAY > >> It's a major breakthrough. An authentic gaming > >> smartphone on the nation's most reliable network. > >> And it wants your games. > >> http://p.sf.net/sfu/verizon-sfdev > >> _______________________________________________ > >> xmlvm-users mailing list > >> xml...@li... > >> https://lists.sourceforge.net/lists/listinfo/xmlvm-users > > > > > > > > -- > John Comeau <jc...@un...> http://jc.unternet.net/ > "A place for everything, and everything > all over the place" > > > ------------------------------------------------------------------------------ > Xperia(TM) PLAY > It's a major breakthrough. An authentic gaming > smartphone on the nation's most reliable network. > And it wants your games. > http://p.sf.net/sfu/verizon-sfdev > _______________________________________________ > xmlvm-users mailing list > xml...@li... > https://lists.sourceforge.net/lists/listinfo/xmlvm-users > |
From: John C. <jc...@un...> - 2011-04-07 00:43:29
|
A Makefile is what people used in the days before IDEs, and still use today. It is a precursor of ant, using plain text files rather than XML to specify the build process. I expect Android development will be somewhat difficult without Eclipse, but far from impossible. If people don't know how to build something without Eclipse, then they don't know how to build it. I'd rather know what I'm doing. On Wed, Apr 6, 2011 at 5:33 PM, Sascha Haeberling <sa...@xm...> wrote: > What do you mean by custom makefile? What is this doing? > I have to say, if you hate IDEs, Android development will be everything from > hard to impossible. I would highly recommend you to install Eclipse with the > Android plugins. > // Sascha > > On Thu, Apr 7, 2011 at 2:23 AM, John Comeau <jc...@un...> wrote: >> >> Hi Sascha, the AndroidManifest.xml that came with the demo shows a >> versionCode of 3 and a minSdkVersion of 4 (if that means anything; I'm >> new to Android as well). I built it with a custom Makefile (I hate >> IDEs) using "make afireworks.android", the result of which is to "cd >> afireworks && ant -s build.xml.back install". Just tried it on a 2.3.3 >> level 10 emulator, same result. >> >> The build.xml.back existed because after the first failure I moved the >> existing build.xml to /tmp; updated the project using "android update >> project --path afireworks"; and migrated it to xvmlm again using "java >> -jar /usr/src/xmlvm/trunk/xmlvm/dist/xmlvm.jar >> --skeleton=android:migrate --out=afireworks". Then checked again that >> it ran fine in the iPhone emulator, despite several warnings about >> "Unable to resolve resources" (which seem to occur with every xmlvm >> project). >> >> The main reason I'm attempting this is because I can't seem to get >> anything non-trivial working on both Android and xmlvm, and I'm hoping >> your demos can help me bridge the gap. >> >> Thanks -- jc >> >> On Wed, Apr 6, 2011 at 5:00 PM, Sascha Haeberling <sa...@xm...> >> wrote: >> > Hi John, >> > how did you compile and install the application? >> > Btw: 1.6 is a really old API. Maybe you compiled it for a new version. >> > Try >> > it with a 2.3 emulator. Google APIs are not needed. >> > // Sascha >> > >> > On Thu, Apr 7, 2011 at 1:58 AM, John Comeau <jc...@un...> wrote: >> >> >> >> I'm able to run the afireworks demo fine using "ant run-Java", but >> >> trying to run it on a Google APIs 1.6 emulator using "ant install" >> >> gives an error "rejecting opcode 0x6e at 0x0007": see >> >> http://pastebin.com/EptG0Zid for logcat output. Any clue as to what >> >> I'm doing wrong? >> >> -- >> >> John Comeau <jc...@un...> http://jc.unternet.net/ >> >> "A place for everything, and everything >> >> all over the place" >> >> >> >> >> >> >> >> ------------------------------------------------------------------------------ >> >> Xperia(TM) PLAY >> >> It's a major breakthrough. An authentic gaming >> >> smartphone on the nation's most reliable network. >> >> And it wants your games. >> >> http://p.sf.net/sfu/verizon-sfdev >> >> _______________________________________________ >> >> xmlvm-users mailing list >> >> xml...@li... >> >> https://lists.sourceforge.net/lists/listinfo/xmlvm-users >> > >> > >> >> >> >> -- >> John Comeau <jc...@un...> http://jc.unternet.net/ >> "A place for everything, and everything >> all over the place" >> >> >> ------------------------------------------------------------------------------ >> Xperia(TM) PLAY >> It's a major breakthrough. An authentic gaming >> smartphone on the nation's most reliable network. >> And it wants your games. >> http://p.sf.net/sfu/verizon-sfdev >> _______________________________________________ >> xmlvm-users mailing list >> xml...@li... >> https://lists.sourceforge.net/lists/listinfo/xmlvm-users > > -- John Comeau <jc...@un...> http://jc.unternet.net/ "A place for everything, and everything all over the place" |
From: Sascha H. <sa...@xm...> - 2011-04-07 00:45:26
|
John, I didn't want you to explain Makefiles to me, I am very well aware of what that is :D I wanted you to tell me what your custom Makefile does. Can you please paste the contents? On Thu, Apr 7, 2011 at 2:43 AM, John Comeau <jc...@un...> wrote: > A Makefile is what people used in the days before IDEs, and still use > today. It is a precursor of ant, using plain text files rather than > XML to specify the build process. I expect Android development will be > somewhat difficult without Eclipse, but far from impossible. If people > don't know how to build something without Eclipse, then they don't > know how to build it. I'd rather know what I'm doing. > > On Wed, Apr 6, 2011 at 5:33 PM, Sascha Haeberling <sa...@xm...> > wrote: > > What do you mean by custom makefile? What is this doing? > > I have to say, if you hate IDEs, Android development will be everything > from > > hard to impossible. I would highly recommend you to install Eclipse with > the > > Android plugins. > > // Sascha > > > > On Thu, Apr 7, 2011 at 2:23 AM, John Comeau <jc...@un...> wrote: > >> > >> Hi Sascha, the AndroidManifest.xml that came with the demo shows a > >> versionCode of 3 and a minSdkVersion of 4 (if that means anything; I'm > >> new to Android as well). I built it with a custom Makefile (I hate > >> IDEs) using "make afireworks.android", the result of which is to "cd > >> afireworks && ant -s build.xml.back install". Just tried it on a 2.3.3 > >> level 10 emulator, same result. > >> > >> The build.xml.back existed because after the first failure I moved the > >> existing build.xml to /tmp; updated the project using "android update > >> project --path afireworks"; and migrated it to xvmlm again using "java > >> -jar /usr/src/xmlvm/trunk/xmlvm/dist/xmlvm.jar > >> --skeleton=android:migrate --out=afireworks". Then checked again that > >> it ran fine in the iPhone emulator, despite several warnings about > >> "Unable to resolve resources" (which seem to occur with every xmlvm > >> project). > >> > >> The main reason I'm attempting this is because I can't seem to get > >> anything non-trivial working on both Android and xmlvm, and I'm hoping > >> your demos can help me bridge the gap. > >> > >> Thanks -- jc > >> > >> On Wed, Apr 6, 2011 at 5:00 PM, Sascha Haeberling <sa...@xm...> > >> wrote: > >> > Hi John, > >> > how did you compile and install the application? > >> > Btw: 1.6 is a really old API. Maybe you compiled it for a new version. > >> > Try > >> > it with a 2.3 emulator. Google APIs are not needed. > >> > // Sascha > >> > > >> > On Thu, Apr 7, 2011 at 1:58 AM, John Comeau <jc...@un...> wrote: > >> >> > >> >> I'm able to run the afireworks demo fine using "ant run-Java", but > >> >> trying to run it on a Google APIs 1.6 emulator using "ant install" > >> >> gives an error "rejecting opcode 0x6e at 0x0007": see > >> >> http://pastebin.com/EptG0Zid for logcat output. Any clue as to what > >> >> I'm doing wrong? > >> >> -- > >> >> John Comeau <jc...@un...> http://jc.unternet.net/ > >> >> "A place for everything, and everything > >> >> all over the place" > >> >> > >> >> > >> >> > >> >> > ------------------------------------------------------------------------------ > >> >> Xperia(TM) PLAY > >> >> It's a major breakthrough. An authentic gaming > >> >> smartphone on the nation's most reliable network. > >> >> And it wants your games. > >> >> http://p.sf.net/sfu/verizon-sfdev > >> >> _______________________________________________ > >> >> xmlvm-users mailing list > >> >> xml...@li... > >> >> https://lists.sourceforge.net/lists/listinfo/xmlvm-users > >> > > >> > > >> > >> > >> > >> -- > >> John Comeau <jc...@un...> http://jc.unternet.net/ > >> "A place for everything, and everything > >> all over the place" > >> > >> > >> > ------------------------------------------------------------------------------ > >> Xperia(TM) PLAY > >> It's a major breakthrough. An authentic gaming > >> smartphone on the nation's most reliable network. > >> And it wants your games. > >> http://p.sf.net/sfu/verizon-sfdev > >> _______________________________________________ > >> xmlvm-users mailing list > >> xml...@li... > >> https://lists.sourceforge.net/lists/listinfo/xmlvm-users > > > > > > > > -- > John Comeau <jc...@un...> http://jc.unternet.net/ > "A place for everything, and everything > all over the place" > |
From: John C. <jc...@un...> - 2011-04-07 00:58:22
|
OK, sorry for the misunderstanding. Here is the sanitized Makefile: http://pastebin.com/AxDDpLdp, hopefully I didn't remove anything vital for understanding the problem. On Wed, Apr 6, 2011 at 5:44 PM, Sascha Haeberling <sa...@xm...> wrote: > John, I didn't want you to explain Makefiles to me, I am very well aware of > what that is :D > I wanted you to tell me what your custom Makefile does. Can you please paste > the contents? > > On Thu, Apr 7, 2011 at 2:43 AM, John Comeau <jc...@un...> wrote: >> >> A Makefile is what people used in the days before IDEs, and still use >> today. It is a precursor of ant, using plain text files rather than >> XML to specify the build process. I expect Android development will be >> somewhat difficult without Eclipse, but far from impossible. If people >> don't know how to build something without Eclipse, then they don't >> know how to build it. I'd rather know what I'm doing. >> >> On Wed, Apr 6, 2011 at 5:33 PM, Sascha Haeberling <sa...@xm...> >> wrote: >> > What do you mean by custom makefile? What is this doing? >> > I have to say, if you hate IDEs, Android development will be everything >> > from >> > hard to impossible. I would highly recommend you to install Eclipse with >> > the >> > Android plugins. >> > // Sascha >> > >> > On Thu, Apr 7, 2011 at 2:23 AM, John Comeau <jc...@un...> wrote: >> >> >> >> Hi Sascha, the AndroidManifest.xml that came with the demo shows a >> >> versionCode of 3 and a minSdkVersion of 4 (if that means anything; I'm >> >> new to Android as well). I built it with a custom Makefile (I hate >> >> IDEs) using "make afireworks.android", the result of which is to "cd >> >> afireworks && ant -s build.xml.back install". Just tried it on a 2.3.3 >> >> level 10 emulator, same result. >> >> >> >> The build.xml.back existed because after the first failure I moved the >> >> existing build.xml to /tmp; updated the project using "android update >> >> project --path afireworks"; and migrated it to xvmlm again using "java >> >> -jar /usr/src/xmlvm/trunk/xmlvm/dist/xmlvm.jar >> >> --skeleton=android:migrate --out=afireworks". Then checked again that >> >> it ran fine in the iPhone emulator, despite several warnings about >> >> "Unable to resolve resources" (which seem to occur with every xmlvm >> >> project). >> >> >> >> The main reason I'm attempting this is because I can't seem to get >> >> anything non-trivial working on both Android and xmlvm, and I'm hoping >> >> your demos can help me bridge the gap. >> >> >> >> Thanks -- jc >> >> >> >> On Wed, Apr 6, 2011 at 5:00 PM, Sascha Haeberling <sa...@xm...> >> >> wrote: >> >> > Hi John, >> >> > how did you compile and install the application? >> >> > Btw: 1.6 is a really old API. Maybe you compiled it for a new >> >> > version. >> >> > Try >> >> > it with a 2.3 emulator. Google APIs are not needed. >> >> > // Sascha >> >> > >> >> > On Thu, Apr 7, 2011 at 1:58 AM, John Comeau <jc...@un...> wrote: >> >> >> >> >> >> I'm able to run the afireworks demo fine using "ant run-Java", but >> >> >> trying to run it on a Google APIs 1.6 emulator using "ant install" >> >> >> gives an error "rejecting opcode 0x6e at 0x0007": see >> >> >> http://pastebin.com/EptG0Zid for logcat output. Any clue as to what >> >> >> I'm doing wrong? >> >> >> -- >> >> >> John Comeau <jc...@un...> http://jc.unternet.net/ >> >> >> "A place for everything, and everything >> >> >> all over the place" >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> ------------------------------------------------------------------------------ >> >> >> Xperia(TM) PLAY >> >> >> It's a major breakthrough. An authentic gaming >> >> >> smartphone on the nation's most reliable network. >> >> >> And it wants your games. >> >> >> http://p.sf.net/sfu/verizon-sfdev >> >> >> _______________________________________________ >> >> >> xmlvm-users mailing list >> >> >> xml...@li... >> >> >> https://lists.sourceforge.net/lists/listinfo/xmlvm-users >> >> > >> >> > >> >> >> >> >> >> >> >> -- >> >> John Comeau <jc...@un...> http://jc.unternet.net/ >> >> "A place for everything, and everything >> >> all over the place" >> >> >> >> >> >> >> >> ------------------------------------------------------------------------------ >> >> Xperia(TM) PLAY >> >> It's a major breakthrough. An authentic gaming >> >> smartphone on the nation's most reliable network. >> >> And it wants your games. >> >> http://p.sf.net/sfu/verizon-sfdev >> >> _______________________________________________ >> >> xmlvm-users mailing list >> >> xml...@li... >> >> https://lists.sourceforge.net/lists/listinfo/xmlvm-users >> > >> > >> >> >> >> -- >> John Comeau <jc...@un...> http://jc.unternet.net/ >> "A place for everything, and everything >> all over the place" > > -- John Comeau <jc...@un...> http://jc.unternet.net/ "A place for everything, and everything all over the place" |
From: Sascha H. <sa...@xm...> - 2011-04-07 01:07:14
|
Thanks John, from what i can see this looks good. But you adding other JARs to the project, like the OAuth library? It could be that something you use is not supported by the API. To check this, can you increase the mindSdkVersion in the manifest file to "10" please? This number represents Android 2.3.3, so it will match your emulator version. // Sascha On Thu, Apr 7, 2011 at 2:58 AM, John Comeau <jc...@un...> wrote: > OK, sorry for the misunderstanding. Here is the sanitized Makefile: > http://pastebin.com/AxDDpLdp, hopefully I didn't remove anything vital > for understanding the problem. > > On Wed, Apr 6, 2011 at 5:44 PM, Sascha Haeberling <sa...@xm...> > wrote: > > John, I didn't want you to explain Makefiles to me, I am very well aware > of > > what that is :D > > I wanted you to tell me what your custom Makefile does. Can you please > paste > > the contents? > > > > On Thu, Apr 7, 2011 at 2:43 AM, John Comeau <jc...@un...> wrote: > >> > >> A Makefile is what people used in the days before IDEs, and still use > >> today. It is a precursor of ant, using plain text files rather than > >> XML to specify the build process. I expect Android development will be > >> somewhat difficult without Eclipse, but far from impossible. If people > >> don't know how to build something without Eclipse, then they don't > >> know how to build it. I'd rather know what I'm doing. > >> > >> On Wed, Apr 6, 2011 at 5:33 PM, Sascha Haeberling <sa...@xm...> > >> wrote: > >> > What do you mean by custom makefile? What is this doing? > >> > I have to say, if you hate IDEs, Android development will be > everything > >> > from > >> > hard to impossible. I would highly recommend you to install Eclipse > with > >> > the > >> > Android plugins. > >> > // Sascha > >> > > >> > On Thu, Apr 7, 2011 at 2:23 AM, John Comeau <jc...@un...> wrote: > >> >> > >> >> Hi Sascha, the AndroidManifest.xml that came with the demo shows a > >> >> versionCode of 3 and a minSdkVersion of 4 (if that means anything; > I'm > >> >> new to Android as well). I built it with a custom Makefile (I hate > >> >> IDEs) using "make afireworks.android", the result of which is to "cd > >> >> afireworks && ant -s build.xml.back install". Just tried it on a > 2.3.3 > >> >> level 10 emulator, same result. > >> >> > >> >> The build.xml.back existed because after the first failure I moved > the > >> >> existing build.xml to /tmp; updated the project using "android update > >> >> project --path afireworks"; and migrated it to xvmlm again using > "java > >> >> -jar /usr/src/xmlvm/trunk/xmlvm/dist/xmlvm.jar > >> >> --skeleton=android:migrate --out=afireworks". Then checked again that > >> >> it ran fine in the iPhone emulator, despite several warnings about > >> >> "Unable to resolve resources" (which seem to occur with every xmlvm > >> >> project). > >> >> > >> >> The main reason I'm attempting this is because I can't seem to get > >> >> anything non-trivial working on both Android and xmlvm, and I'm > hoping > >> >> your demos can help me bridge the gap. > >> >> > >> >> Thanks -- jc > >> >> > >> >> On Wed, Apr 6, 2011 at 5:00 PM, Sascha Haeberling <sa...@xm...> > >> >> wrote: > >> >> > Hi John, > >> >> > how did you compile and install the application? > >> >> > Btw: 1.6 is a really old API. Maybe you compiled it for a new > >> >> > version. > >> >> > Try > >> >> > it with a 2.3 emulator. Google APIs are not needed. > >> >> > // Sascha > >> >> > > >> >> > On Thu, Apr 7, 2011 at 1:58 AM, John Comeau <jc...@un...> > wrote: > >> >> >> > >> >> >> I'm able to run the afireworks demo fine using "ant run-Java", but > >> >> >> trying to run it on a Google APIs 1.6 emulator using "ant install" > >> >> >> gives an error "rejecting opcode 0x6e at 0x0007": see > >> >> >> http://pastebin.com/EptG0Zid for logcat output. Any clue as to > what > >> >> >> I'm doing wrong? > >> >> >> -- > >> >> >> John Comeau <jc...@un...> http://jc.unternet.net/ > >> >> >> "A place for everything, and everything > >> >> >> all over the place" > >> >> >> > >> >> >> > >> >> >> > >> >> >> > >> >> >> > ------------------------------------------------------------------------------ > >> >> >> Xperia(TM) PLAY > >> >> >> It's a major breakthrough. An authentic gaming > >> >> >> smartphone on the nation's most reliable network. > >> >> >> And it wants your games. > >> >> >> http://p.sf.net/sfu/verizon-sfdev > >> >> >> _______________________________________________ > >> >> >> xmlvm-users mailing list > >> >> >> xml...@li... > >> >> >> https://lists.sourceforge.net/lists/listinfo/xmlvm-users > >> >> > > >> >> > > >> >> > >> >> > >> >> > >> >> -- > >> >> John Comeau <jc...@un...> http://jc.unternet.net/ > >> >> "A place for everything, and everything > >> >> all over the place" > >> >> > >> >> > >> >> > >> >> > ------------------------------------------------------------------------------ > >> >> Xperia(TM) PLAY > >> >> It's a major breakthrough. An authentic gaming > >> >> smartphone on the nation's most reliable network. > >> >> And it wants your games. > >> >> http://p.sf.net/sfu/verizon-sfdev > >> >> _______________________________________________ > >> >> xmlvm-users mailing list > >> >> xml...@li... > >> >> https://lists.sourceforge.net/lists/listinfo/xmlvm-users > >> > > >> > > >> > >> > >> > >> -- > >> John Comeau <jc...@un...> http://jc.unternet.net/ > >> "A place for everything, and everything > >> all over the place" > > > > > > > > -- > John Comeau <jc...@un...> http://jc.unternet.net/ > "A place for everything, and everything > all over the place" > |
From: John C. <jc...@un...> - 2011-04-07 05:52:25
|
I was finally able to get afireworks to run on Android, by making a completely new project, copying the sources, resources, and AndroidManifest.xml to the new project directory, and rebuilding: 10398 bzr mv afireworks afireworks.demo 10399 make afireworks.project 10402 cp -a afireworks.demo/src/org afireworks/src 10406 find afireworks/src/ -name .svn -exec rm -rf "{}" \; 10409 rm -rf afireworks/src/com/ 10428 mkdir afireworks/res/drawable 10430 cp afireworks.demo/res/drawable/* afireworks/res/drawable/ 10432 cp afireworks.demo/res/layout/main.xml afireworks/res/layout/ 10433 cp afireworks.demo/res/values/strings.xml afireworks/res/values/ 10440 cp afireworks.demo/AndroidManifest.xml afireworks/ 10441 make afireworks.build (relevant parts of my history file). But then I migrated the project and attempted to run on the iPhone emulator: jcomeau@intrepid:~/rentacoder/marchie$ make afireworks.migrate make[1]: Entering directory `/home/jcomeau/rentacoder/marchie' java -jar /usr/src/xmlvm/trunk/xmlvm/dist/xmlvm.jar --skeleton=android:migrate --out=afireworks [04/06/11 22:37:51.810] WARNING: Using afireworks as application name [04/06/11 22:37:51.829] WARNING: InputProcess.getOutputFiles(): Input File does not exist or is not a file. [04/06/11 22:37:51.862] WARNING: Renaming afireworks//build.xml to afireworks//build.xml.back [04/06/11 22:37:51.876] WARNING: Currently the Android plugin for Netbeans does not support local.properties file and has a bug which prevents the usage of GUI platform customization. It is required to MANUALLY set your platfom under "nbproject/project.properties" by editing property "platform.active" or else Netbeans might crash. make[1]: Leaving directory `/home/jcomeau/rentacoder/marchie' jcomeau@intrepid:~/rentacoder/marchie$ make afireworks.runjava make[1]: Entering directory `/home/jcomeau/rentacoder/marchie' cd afireworks && ant run-Java Buildfile: /home/jcomeau/rentacoder/marchie/afireworks/build.xml [snipped some of output -- jc] -trigger-java-simulator-task: [java] <I> <Resources>: Unable to resolve resources for org.xmlvm.demo.afireworks: id [java] <I> <Resources>: Unable to resolve resources for org.xmlvm.demo.afireworks: array [java] <I> <Resources>: Unable to resolve resources for org.xmlvm.demo.afireworks: dimen [java] <I> <Resources>: Unable to resolve resources for org.xmlvm.demo.afireworks: raw [java] <I> <Resources>: Unable to resolve resources for org.xmlvm.demo.afireworks: id [java] <I> <Resources>: Unable to resolve resources for org.xmlvm.demo.afireworks: array [java] <I> <Resources>: Unable to resolve resources for org.xmlvm.demo.afireworks: dimen [java] <I> <Resources>: Unable to resolve resources for org.xmlvm.demo.afireworks: raw [java] Exception in thread "AWT-EventQueue-0" java.lang.RuntimeException: java.lang.reflect.InvocationTargetException [java] at org.xmlvm.iphone.NSObject$1.run(NSObject.java:83) [java] at org.xmlvm.iphone.NSObject.performSelector(NSObject.java:90) [java] at org.xmlvm.iphone.NSObject.performSelectorOnMainThread(NSObject.java:40) [java] at android.app.Activity.xmlvmCreate(Activity.java:105) [java] at android.content.Context.startActivityForResult(Context.java:256) [java] at android.content.Context.startActivity(Context.java:260) [java] at android.app.Application.onCreate(Application.java:46) [java] at android.internal.AndroidAppLauncher.applicationDidFinishLaunching(AndroidAppLauncher.java:36) [java] at org.xmlvm.iphone.UIApplication$1.run(UIApplication.java:142) [java] at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209) [java] at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:642) [java] at java.awt.EventQueue.access$000(EventQueue.java:85) [java] at java.awt.EventQueue$1.run(EventQueue.java:603) [java] at java.awt.EventQueue$1.run(EventQueue.java:601) [java] at java.security.AccessController.doPrivileged(Native Method) [java] at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87) [java] at java.awt.EventQueue.dispatchEvent(EventQueue.java:612) [java] at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269) [java] at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184) [java] at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174) [java] at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169) [java] at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161) [java] at java.awt.EventDispatchThread.run(EventDispatchThread.java:122) [java] Caused by: java.lang.reflect.InvocationTargetException [java] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [java] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) [java] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [java] at java.lang.reflect.Method.invoke(Method.java:597) [java] at org.xmlvm.iphone.NSObject$1.run(NSObject.java:77) [java] ... 22 more [java] Caused by: java.lang.IncompatibleClassChangeError: Found class android.view.WindowManager, but interface was expected [java] at org.xmlvm.demo.afireworks.AndroidFireworks.onContentChanged(AndroidFireworks.java:73) [java] at android.app.Activity.create(Activity.java:130) [java] ... 27 more On Wed, Apr 6, 2011 at 6:13 PM, John Comeau <jc...@un...> wrote: > OAuth is for other projects for this same client, I'm not using it for > afireworks. Changed minSdkVersion to 10 as requested, but still fails > on Android emulator. > > On Wed, Apr 6, 2011 at 6:06 PM, Sascha Haeberling <sa...@xm...> wrote: >> Thanks John, from what i can see this looks good. But you adding other JARs >> to the project, like the OAuth library? It could be that something you use >> is not supported by the API. >> To check this, can you increase the mindSdkVersion in the manifest file to >> "10" please? This number represents Android 2.3.3, so it will match your >> emulator version. >> // Sascha > -- > John Comeau <jc...@un...> http://jc.unternet.net/ > "A place for everything, and everything > all over the place" > -- John Comeau <jc...@un...> http://jc.unternet.net/ "A place for everything, and everything all over the place" |
From: Arno P. <ar...@pu...> - 2011-04-07 11:55:52
|
Did you try: ant run-Android in the aFireworks directory? Arno On Apr 7, 2011, at 1:58 AM, John Comeau <jc...@un...> wrote: > I'm able to run the afireworks demo fine using "ant run-Java", but > trying to run it on a Google APIs 1.6 emulator using "ant install" > gives an error "rejecting opcode 0x6e at 0x0007": see > http://pastebin.com/EptG0Zid for logcat output. Any clue as to what > I'm doing wrong? > -- > John Comeau <jc...@un...> http://jc.unternet.net/ > "A place for everything, and everything > all over the place" > > ------------------------------------------------------------------------------ > Xperia(TM) PLAY > It's a major breakthrough. An authentic gaming > smartphone on the nation's most reliable network. > And it wants your games. > http://p.sf.net/sfu/verizon-sfdev > _______________________________________________ > xmlvm-users mailing list > xml...@li... > https://lists.sourceforge.net/lists/listinfo/xmlvm-users |
From: John C. <jc...@un...> - 2011-04-07 13:53:39
|
I hadn't, but just tried, and got the same errors beginning with: E/dalvikvm( 656): Could not find method android.content.Intent.setData, referenced from method org.xmlvm.demo.afireworks.AndroidFireworks.viewUri On Thu, Apr 7, 2011 at 4:55 AM, Arno Puder <ar...@pu...> wrote: > Did you try: > > ant run-Android > > in the aFireworks directory? > > Arno > > On Apr 7, 2011, at 1:58 AM, John Comeau <jc...@un...> wrote: > >> I'm able to run the afireworks demo fine using "ant run-Java", but >> trying to run it on a Google APIs 1.6 emulator using "ant install" >> gives an error "rejecting opcode 0x6e at 0x0007": see >> http://pastebin.com/EptG0Zid for logcat output. Any clue as to what >> I'm doing wrong? >> -- >> John Comeau <jc...@un...> http://jc.unternet.net/ >> "A place for everything, and everything >> all over the place" >> >> ------------------------------------------------------------------------------ >> Xperia(TM) PLAY >> It's a major breakthrough. An authentic gaming >> smartphone on the nation's most reliable network. >> And it wants your games. >> http://p.sf.net/sfu/verizon-sfdev >> _______________________________________________ >> xmlvm-users mailing list >> xml...@li... >> https://lists.sourceforge.net/lists/listinfo/xmlvm-users > -- John Comeau <jc...@un...> http://jc.unternet.net/ "A place for everything, and everything all over the place" |
From: Panayotis K. <pan...@pa...> - 2011-04-07 15:16:50
|
On 07 Απρ 2011, at 4:53 μ.μ., John Comeau wrote: > I hadn't, but just tried, and got the same errors beginning with: Before speaking about the error messages, I clearly want to understand what you do. Have you tried the unmodified aFireworks project with your configuration? Did it worked? If it didn't, which version of Google API's are you using? Here, in XMLVM we practically only support 2.1 onwards and JDK 1.6.\ |
From: John C. <jc...@un...> - 2011-04-07 20:21:44
|
2011/4/7 Panayotis Katsaloulis <pan...@pa...>: > Before speaking about the error messages, I clearly want to understand what you do. > > Have you tried the unmodified aFireworks project with your configuration? > Did it worked? > If it didn't, which version of Google API's are you using? > > Here, in XMLVM we practically only support 2.1 onwards and JDK 1.6.\ The AndroidManifest.xml of your demos all have minSdkVersion = "4". "svn diff" shows my current copy of aFireworks is unchanged. It works fine using "ant run-Java". It fails with "ant run-Android". Same for xokoban. The "sayhello" demo, on Android, works up to the point where I click the button, then it fails. This was all using a 2.2.3 emulator; for some reason, "sayhello" crashes on startup on a 1.6 emulator. -- John Comeau <jc...@un...> http://jc.unternet.net/ "A place for everything, and everything all over the place" |
From: Panayotis K. <pan...@pa...> - 2011-04-07 21:23:37
|
On Apr 7, 2011, at 11:21 PM, John Comeau wrote: > > The AndroidManifest.xml of your demos all have minSdkVersion = "4". Yes I know, but this is a leftover. Consider that all demos should work with minimum version 7. > > "svn diff" shows my current copy of aFireworks is unchanged. It works > fine using "ant run-Java". It fails with "ant run-Android". Same for > xokoban. The "sayhello" demo, on Android, works up to the point where > I click the button, then it fails. This was all using a 2.2.3 > emulator; for some reason, "sayhello" crashes on startup on a 1.6 > emulator. Still I didn't understand. If you go to the xmlvm root directory, perform "ant clean ; ant jar" and then go to the aFireworks directory and perform "ant run-Android", still doesn't work? The build files etc of the android demo projects are not 100% the same with the project skeleton files. Did you try with the official XMLVM project directory and failed? (with version 2.1 of Android SDK?) |
From: John C. <jc...@un...> - 2011-04-07 21:49:38
|
Thank you! "ant clean" was what I was failing to do. Apparently building for one target corrupts it for the other, and vice-versa. Both afireworks and xokoban work fine now. On Thu, Apr 7, 2011 at 2:23 PM, Panayotis Katsaloulis <pan...@pa...> wrote: > > On Apr 7, 2011, at 11:21 PM, John Comeau wrote: > > The AndroidManifest.xml of your demos all have minSdkVersion = "4". > > Yes I know, but this is a leftover. > Consider that all demos should work with minimum version 7. > > "svn diff" shows my current copy of aFireworks is unchanged. It works > fine using "ant run-Java". It fails with "ant run-Android". Same for > xokoban. The "sayhello" demo, on Android, works up to the point where > I click the button, then it fails. This was all using a 2.2.3 > emulator; for some reason, "sayhello" crashes on startup on a 1.6 > emulator. > > Still I didn't understand. > If you go to the xmlvm root directory, perform "ant clean ; ant jar" and > then go to the aFireworks directory and perform "ant run-Android", still > doesn't work? > The build files etc of the android demo projects are not 100% the same with > the project skeleton files. > Did you try with the official XMLVM project directory and failed? (with > version 2.1 of Android SDK?) > > > > > ------------------------------------------------------------------------------ > Xperia(TM) PLAY > It's a major breakthrough. An authentic gaming > smartphone on the nation's most reliable network. > And it wants your games. > http://p.sf.net/sfu/verizon-sfdev > _______________________________________________ > xmlvm-users mailing list > xml...@li... > https://lists.sourceforge.net/lists/listinfo/xmlvm-users > > -- John Comeau <jc...@un...> http://jc.unternet.net/ "A place for everything, and everything all over the place" |