Closed karthi-anubavam closed 11 years ago
yeah, You should compile your project with sdk 4.0 or newer or if you don't want to use Holo theme on sdk 4.0 or above you should remove values-v14 and values-v14 folder under res folder
@dreamlearn thanks for your quick response, do you mean minSdkVersion for my testApp 14 (sdk 4.0)? I have tried with minSdkVersion in custom androidmanifest.xml, but it didn't work
@karthi-anubavam you should add it to tiapp.xml
this is my config:
<android xmlns:android="http://schemas.android.com/apk/res/android">
<tool-api-level>17</tool-api-level>
<manifest>
<uses-sdk android:minSdkVersion="10" android:targetSdkVersion="17" />
</manifest>
</android>
@dreamlearn Now am getting below error
[ERROR]
[ERROR] UNEXPECTED TOP-LEVEL EXCEPTION:
[ERROR] java.lang.IllegalArgumentException: already added: Landroid/support/v4/app/ActivityCompatHoneycomb;
[ERROR] at com.android.dx.dex.file.ClassDefsSection.add(ClassDefsSection.java:123)
[ERROR] at com.android.dx.dex.file.DexFile.add(DexFile.java:163)
[ERROR] System Error while compiling Android classes.dex
[ERROR] at com.android.dx.command.dexer.Main.processClass(Main.java:490)
[ERROR] at com.android.dx.command.dexer.Main.processFileBytes(Main.java:459)
[ERROR] at com.android.dx.command.dexer.Main.access$400(Main.java:67)
[ERROR] at com.android.dx.command.dexer.Main$1.processFileBytes(Main.java:398)
[ERROR] at com.android.dx.cf.direct.ClassPathOpener.processArchive(ClassPathOpener.java:245)
[ERROR] at com.android.dx.cf.direct.ClassPathOpener.processOne(ClassPathOpener.java:131)
[ERROR] at com.android.dx.cf.direct.ClassPathOpener.process(ClassPathOpener.java:109)
[ERROR] at com.android.dx.command.dexer.Main.processOne(Main.java:422)
[ERROR] at com.android.dx.command.dexer.Main.processAllFiles(Main.java:333)
[ERROR] at com.android.dx.command.dexer.Main.run(Main.java:209)
[ERROR] at com.android.dx.command.dexer.Main.main(Main.java:174)
[ERROR] at com.android.dx.command.Main.main(Main.java:91)
[ERROR] 1 error; aborting
[ERROR] : Build process exited with code 1
[ERROR] : Project failed to build after 24s 291ms
@karthi-anubavam this error occurred when you reference to more one android-support-v4 library please check your references and please remove android-support-v4 library from lib folder in module and application if it exists and add the library only to external library in eclipse.
@dreamlearn Thanks for your response. I just removed android-support-v4.jar from lib directory and it works fine. Also replace the proxy with tabs in your example/app.js. Once again thanks for the cool module.
@karthi-anubavam sure, I hope you enjoyed it.
i m using ecllipse 10 with latest updates and facing same "no resource found....."in styles.xml . Even my 2 month old projects which are running successfully are now showing me this Theme error. plz help
I imported github code to Ti studio and build the module, when run the app with this module, I am getting below error