Eclipse will not recognize project as library (ActionBarSherlock/ViewPagerIndicator)

Where to store the actual library project does not matter, as long as you use a relative link to reference it. Check out the Library Projects – Development considerations: Library project storage location There are no specific requirements on where you should store a library project, relative to a dependent application project, as long as … Read more

Android library dependencies missing from POM with Gradle

This is the solution that worked for me in the end: publishing { publications { sdk(MavenPublication) { artifactId libName artifact “${project.buildDir}/outputs/aar/${libName}-${project.version}.aar” //The publication doesn’t know about our dependencies, so we have to manually add them to the pom pom.withXml { // for dependencies and exclusions def dependenciesNode = asNode().appendNode(‘dependencies’) configurations.implementation.allDependencies.withType(ModuleDepend‌​ency) { ModuleDependency dp -> def … Read more

Integrate ZXing QR code scanner without installing BarCode Scanner

Finally I got the answer, As of ADT 14,the resource fields(such as R.id.decode) are no longer constants when defined in library projects So in the ZXing library->android->com.google.zxing.client.android.CaptureActivityHandler.java and DecodeHandler.java Replace both of these classes switch case statements with if-else,and then import this ZXing library into your project.. Rest of the coding of my own project … Read more

embed crosswalk in android studio

Following: https://diego.org/2015/01/07/embedding-crosswalk-in-android-studio/ Open AndroidStudio to project view in app folder edit build.gradle: repositories { maven { url ‘https://download.01.org/crosswalk/releases/crosswalk/android/maven2’}} dependencies { compile fileTree(dir: ‘libs’, include: [‘*.jar’]) compile ‘com.android.support:appcompat-v7:21.0.3’ compile ‘org.xwalk:xwalk_core_library:10.39.235.15’} sync project. add this view in layout xml. <org.xwalk.core.XWalkView android:id=”@+id/xwalkWebView” android:orientation=”vertical” android:layout_width=”fill_parent” android:layout_height=”fill_parent” android:background=”#000000″ /> In activity or fragment: import org.xwalk.core.XWalkPreferences; import org.xwalk.core.XWalkView; in onCreate: XWalkView … Read more