Android Question OSMDroid_3 & OSMDroid_4

Discussion in 'Android Questions' started by francesco paolo lavecchia, May 29, 2019.

  1. francesco paolo lavecchia

    francesco paolo lavecchia Member Licensed User

    Hi all,

    I need to use

    upload_2019-5-29_20-31-16.png

    due to

    Sub TouchEventsOverlay1_Click(GeoPoint2 As GeoPoint)
    Mapview1.Invalidate
    End Sub

    ( OSMDroid_3 only)

    What should I do to solve the problem?


    Code:
    B4A Version: 8.80
    Parsing code.    (
    0.01s)
    Building folders structure.    (
    0.05s)
    Compiling code.    (
    0.04s)
    Compiling layouts code.    (
    0.00s)
    Organizing libraries.    (
    0.00s)
    Generating R 
    file.    (0.31s)
    Compiling debugger engine code.    (
    2.91s)
    Compiling generated Java code.    (
    3.70s)
    Convert byte code - optimized dex.    Error
    Uncaught translation error: java.lang.IllegalArgumentException: already added: Lmicrosoft/mappoint/TileSystem;
    Uncaught translation error: java.lang.IllegalArgumentException: already added: Lorg/metalev/multitouch/controller/MultiTouchController;
    Uncaught translation error: java.lang.IllegalArgumentException: already added: Lorg/metalev/multitouch/controller/MultiTouchController$MultiTouchObjectCanvas;
    Uncaught translation error: java.lang.IllegalArgumentException: already added: Lorg/metalev/multitouch/controller/MultiTouchController$PointInfo;
    Uncaught translation error: java.lang.IllegalArgumentException: already added: Lorg/metalev/multitouch/controller/MultiTouchController$PositionAndScale;
    Uncaught translation error: java.lang.IllegalArgumentException: already added: Lorg/osmdroid/DefaultResourceProxyImpl;
    Uncaught translation error: java.lang.IllegalArgumentException: already added: Lorg/osmdroid/LocationListenerProxy;
    Uncaught translation error: java.lang.IllegalArgumentException: already added: Lorg/osmdroid/ResourceProxy;
    Uncaught translation error: java.lang.IllegalArgumentException: already added: Lorg/osmdroid/ResourceProxy$
    bitmap;
    UNEXPECTED TOP-LEVEL 
    EXCEPTION:
    java.lang.RuntimeException: Translation has been interrupted
       at com.android.dx.command.dexer.Main.processAllFiles(Main.java:
    692)
       at com.android.dx.command.dexer.Main.runMonoDex(Main.java:
    315)
       at com.android.dx.command.dexer.Main.runDx(Main.java:
    293)
       at com.android.dx.command.dexer.Main.main(Main.java:
    249)
       at com.android.dx.command.Main.main(Main.java:
    94)
    Caused by: java.lang.InterruptedException: Too many errors
       at com.android.dx.command.dexer.Main.processAllFiles(Main.java:
    684)
       ... 
    4 more
     

    Attached Files:

  2. Erel

    Erel Administrator Staff Member Licensed User

    I don't think that it will work. Both libraries include classes with the same (full) name.
     
  3. francesco paolo lavecchia

    francesco paolo lavecchia Member Licensed User

    So, osmdroid_4 needs to be updated...
     
Loading...
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice