Diese Seite mit anderen teilen ...

Informationen zum Thema:
WinDev Forum
Beiträge im Thema:
Erster Beitrag:
vor 6 Jahren
Letzter Beitrag:
vor 6 Jahren
Beteiligte Autoren:
Georgio, Alan Evans

Convert existing WinDev Mobile project to Android

Startbeitrag von Alan Evans am 02.03.2012 10:01


I wondered if anyone has tried importing the windows and elements from a WinDev Mobile project into an Android Project? I have done this and removed all 'Mobile only' errors and the program DOES compile, but then dies with this error message upon trying to write to the device/emulator:

Command Line: "C:\Program Files (x86)\Java\jdk1.6.0_26\bin\java.exe" -Xmx1024m -Djava.ext.dirs=.\platform-tools\lib -jar .\platform-tools\lib\dx.jar --dex --output="C:\John-Shared\sms_android\Android\Generation\bin\classes.dex" "C:\John-Shared\sms_android\Android\Generation\bin\classes" "C:\John-Shared\sms_android\Android\Generation\libs\WD160Android.jar"

Error returned:

trouble writing output: No expanded opcode for 007a5ac8 R.java:11@0001: invoke-direct v0:NffffLcom/mycompany/android/R$attr;, java.lang.Object.:()V

Any ideas welcomed!


Hi Alan,

I've never tried to convert a Windows based mobile app to Android but ...

1. What version Android platform is the app using (min sdk)?

2. Is the error appearing using Windev's emulator or Android's AVD?

3. If using Android's AVD, make sure you are using an AVD which matches
the Android platform.

4. I usually get "No expanded opcode for ..." in Eclipse when commenting items
in the Android Manifest. But, since Windev handles that for you, the only other
thing I can think of is maybe that you have a project naming issue:

a. Did you change the name of the Android project when converting from Windows?
b. Try compiling while in the Android directory of the project. Look for the "Generation"
directory. Copy and paste it somewhere (like on your desktop). (Do this quick -- WM
deletes it after compilation.) On the desktop (or whereever you pasted), look for the
"lib" directory. Open the AndroidManifest.xml file -- check if your project name is
correct in the activity xml tags.

Good Luck!

von Georgio - am 05.03.2012 02:57
Zur Information:
MySnip.de hat keinen Einfluss auf die Inhalte der Beiträge. Bitte kontaktieren Sie den Administrator des Forums bei Problemen oder Löschforderungen über die Kontaktseite.
Falls die Kontaktaufnahme mit dem Administrator des Forums fehlschlägt, kontaktieren Sie uns bitte über die in unserem Impressum angegebenen Daten.