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" > |