Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

#160 Unable to build/Run KF on Android for Dalvik on Windows host

3.2.0
closed-fixed
Gunnar Ekolin
5
2013-05-06
2011-09-07
Anonymous
No

The dex files are not created properly. The classes.dex files for each jar are packaged with a path: C:\&lt;path to KF root>\knopflerfish_osgi_3.2.0\osgi\out\&lt;jar name>\&lt;jarname><tempID>\ rather than in the root of the jar. If the classes.dex is copied manually to the root of jar and installed into the target then if we try to run KF on Dalvik, KF is starting with a welcome message but then crashing complaining about not getting the log/activator class.
Unable to attach the build log as it is >1MB even after compression. This page is not allowing anything >256KB!
Let me know in case we have some other means to share larger files.

Discussion

  • Gunnar Ekolin
    Gunnar Ekolin
    2011-09-07

    • assigned_to: nobody --> ekolin
     
  • Gunnar Ekolin
    Gunnar Ekolin
    2011-09-12

    • status: open --> pending-fixed
     
  • Gunnar Ekolin
    Gunnar Ekolin
    2011-09-12

    FIxed on the trunk, revision 3501.

    The root of the problem was that the Android SDK tool aapt behaved different on window contra UNIX when asked to add a file with an absolute path to a jar. On windows it adds the file with the full path inside the archive, on UNIX it adds the file without path to root of the archive.

     
  • Gunnar Ekolin
    Gunnar Ekolin
    2011-11-09

    • status: pending-fixed --> closed-fixed
     
  • khalil
    khalil
    2013-05-06

    hii,
    i succed to run knopflerfish on android device.
    My question is how could install bundle on this embedded framework ?
    i really need your help
    thanks