I'm trying to create a stan.jar file to be used in a Wear OS library in Eclipse. I got almost everything covered, except Ambient mode, which needs a FragmentActivity.
I do need the 'android.support.v4.app.FragmentActivity'.
So, I created a new project in B4A, added (I also need play-services-wearable, but I get the same error with only the #AdditionalJar: com.android.support:wear line):
And compiled. So far, so good.
Now, in Eclipse I use this stan.jar file:
And now Eclipse gives me the following error on TestActivity:
I've installed the Android SDK 28, and are using this android.jar.
Do I need another #AdditionalJar? And in that case, which one?
I do need the 'android.support.v4.app.FragmentActivity'.
So, I created a new project in B4A, added (I also need play-services-wearable, but I get the same error with only the #AdditionalJar: com.android.support:wear line):
B4X:
#AdditionalJar: com.google.android.gms:play-services-wearable
#AdditionalJar: com.android.support:wear
And compiled. So far, so good.
Now, in Eclipse I use this stan.jar file:
B4X:
package com.ab.test;
import android.support.v4.app.FragmentActivity;
public class TestActivity extends FragmentActivity {
}
And now Eclipse gives me the following error on TestActivity:
B4X:
the hierarchy of the type is inconsistent
I've installed the Android SDK 28, and are using this android.jar.
Do I need another #AdditionalJar? And in that case, which one?
Last edited: