Doubt regarding External Library

Please copy paste the line u have added in xml

1 Like
<copy toFile="${public.deps.dir}/mixpanel-java-1.5.0.jar" file="${lib.dir}/JarFolder/mixpanel-java-1.5.0.jar" />

I think you should add a JarFolder Name

1 Like

don't understood :sweat_smile:

Where is your Folder Jar?

To

<copy toFile="${public.deps.dir}/mixpanel.jar" file="${lib.dir}/JarFolder/mixpanel-java-1.5.0.jar" />

Step 1 I just edited the to file without numbers as it is rename now
@UsesLibraries(libraries = "mixpanel.jar")

This is just after import I have included nickname

1 Like

You can check highlighted path.

copy that and paste it in your JarFolder.

Example :
C:\Users\Salman\appinventor-sources\appinventor\lib\JarFolder

Nope I think it's wrong
Becaus

Means the lib directory thus do as I said I am sure it works

1 Like

lib is already pasted in jar folder

1 Like

Wait understood.

1 Like

Something happened hilarious

Maybe.

import statement is disappearing automatically. @HIFI_APPS @Salman_Dev

All Is fine
What is ur edited xml code now after

<copy toFile="${public.deps.dir}/mixpanel.jar" file="${lib.dir}/JarFolder/mixpanel.jar" />

Add this line after all import... In ur code

Try something like this :
<copy toFile="${public.deps.dir}/mixpanel.jar" file="${lib.dir}/C:\Users\Salman\appinventor-sources\appinventor\lib\JarFolder/mixpanel.jar" />

Already done.

The ur done u can continue