Quantcast

Openrocket Android motor issue

The Rocketry Forum

Help Support The Rocketry Forum:

mntanabob

New Member
Joined
Jan 16, 2017
Messages
1
Reaction score
0
Is there a fix for the motor error you get when trying to download motors from Thrustcurve in the Android version?

Line 2: root element does not match. Expecting www.thrustcurve.org/2008....got www.thrustcurve.org2015....
 

AdAstraPerAspera

Well-Known Member
TRF Supporter
Joined
Mar 15, 2016
Messages
545
Reaction score
41
Wow...I didn't realize there was an Android version till I read this. Thanks!
 

Cabernut

Well-Known Member
Joined
Oct 15, 2015
Messages
1,384
Reaction score
2
Android ver 13.11 is kind of broken though. Can't run sims because you can't download motors because of the issue mentioned above. I don't know of any workarounds at the moment. I also don't know of any developer working on the Android version currently. They're all focused on the desktop version, debugging and testing for the upcoming release. The Android code hasn't been changed in 4 years.

I personally might be able to help fix the Android version soon as I'm a low-level OR contributor and am familiar with Android development. Looks like it could be an easy fix, perhaps just change "2008" to "2015" in the code somewhere.
 

Cabernut

Well-Known Member
Joined
Oct 15, 2015
Messages
1,384
Reaction score
2
Yeah, I couldn't even get it to install...
Make sure you've allowed installing from unknown sources. Check in the security settings. Then download the .apk file, tap it in a file browser to start install. Once installed, its ok to disable installing from unknown sources if you like.
 

AdAstraPerAspera

Well-Known Member
TRF Supporter
Joined
Mar 15, 2016
Messages
545
Reaction score
41
Yeah, I tried that and it just got stuck... a couple times.

Tried again today and it worked the second time. Don't know what was different.
 

eclindholm

Member
Joined
Jun 2, 2009
Messages
8
Reaction score
0
I would expect the issue would be Openrockets as we are reading their web data. idealy, it should be in a .cfg file so it can be modified in the future.
 

Kyle Adler

New Member
Joined
Sep 7, 2019
Messages
2
Reaction score
0
Hey guys, I've found a way to solve the issue. Though I have very little android development experience, the error seemed like all you had to do was replace any thrustcurve2008 query with a thrustcurve2015 one. So that's what I did, and it fixed it. There are still some other issues with mass components and fin fillets, but with this fix it allows you to run sims.

Instructions:
1) Download oponrocket apk from site
2) Decompile with a tool like APK Easy Tool
3) Search file for "openrocket" to find the folder of queries
4) Open all with something like Notepad++
5) Find and replace all "2008" with "2015"
6) Recompile and put onto phone

Let me know if you have any questions.
 

Zeke Johnson

Well-Known Member
Joined
Sep 4, 2019
Messages
71
Reaction score
30
Brain fart. I have been trying to get the Thrust Curve app to work.

Disregard my last post.
 
Top