Ignition+Diddy=Crash

Monkey Targets Forums/Android/Ignition+Diddy=Crash

Volker(Posted 2013) [#1]
I'm using diddy and ignition in my framework.
The following code crashes under android.
It's one of the ignition templates with one line added
to create an ArrayList.
Using latest diddy, ignition, Monkey V71b.




AdamRedwoods(Posted 2013) [#2]
is you error because of ArrayList? If so... i think it is because ArrayList is deprecated in newer Android SDKs (ugh). So you must install Android API 13. I think that is what solved this.


Volker(Posted 2013) [#3]
The SDK Manager tells me that Android 3.2 (API 13) is installed.
Android 4.0.3 (API 15) is installed although.
Nonetheless I've updated the SDK.
Still crashing.


AdamRedwoods(Posted 2013) [#4]
did you delete the .build/android folder as well?
also, if it crashes at this line:
at com.monkey.c_iEngine.<init>(MonkeyGame.java:5432)

could you go into src/com/ MonkeyGame.java line 5432 and show what that line is?


Volker(Posted 2013) [#5]

did you delete the .build/android folder as well?


Dozens of time, but not since updating SDK, done yet.

It's in the last line here:
	public final int p_OnCreate(){
		bb_std_lang.pushErr();
		bb_std_lang.errInfo="D:/MonkeyProjects/bananasIgnition/playniax/ignition/04_templates/engine/template_1.monkey<26>";
		c_ArrayList t_list=(new c_ArrayList()).m_ArrayList_new();


Does the example work for you on Android, Adam?