android-library

android library crash on start MultiDex

落花浮王杯 提交于 2020-01-16 18:49:10
问题 I've built an android library ( a custom button of sorts ) and uploaded it to my JFrog Artifactory now i tried testing it in an example app (really simple one with default activity) . The sync went well and I added the Button to the xml layout , when i run the app it crashes before it starting with : java.lang.RuntimeException: Unable to instantiate application com.mylib.library.LibApp: java.lang.ClassNotFoundException: Didn't find class "com.mylib.library.LibApp" on path: DexPathList Which

Crash on calligraphy library by chris Jenx for Android Q

≡放荡痞女 提交于 2020-01-14 09:10:32
问题 I have a calligraphy library I am using for custom fonts which seems to work on all versions except for android Q , where it crashes my app right on launch.Any one else has had to deal with the same issue lately? Here's my crash report : Caused by: android.view.InflateException: Binary XML file line #17 in com.myapp.dev:layout/abc_screen_simple: Binary XML file line #17 in com.myapp.dev:layout/abc_screen_simple: Error inflating class android.support.v7.widget.FitWindowsLinearLayout Caused by:

Gradle dependencies on Unity

自闭症网瘾萝莉.ら 提交于 2020-01-13 18:17:45
问题 I recently created an Android Studio project using estimote beacons. This requires that the build.gradle be modified so that it can access the estimote sdk. I created the project and it works great. I also created a simple android plugin to show a Toast message from Unity (instructions found here: https://blog.nraboy.com/2014/06/creating-an-android-java-plugin-for-unity3d/). Now, because we use unity at my job to create apps, now I need to create a plugin for the beacons to be used inside

Failed to export application after upgrade to Proguard 4.8

别说谁变了你拦得住时间么 提交于 2020-01-13 09:05:12
问题 I just upgraded my Android SDK, ADT and Proguard to the latest and greatest. My project compiles builds and runs fine in debug mode, but as soon as I try to export a signed release APK of it, I receive an error from the Export Wizard without any error log messages on the Eclipse console!* If I try to view the error log via Window->Show View->Error Log all I see is more of the same: I have no idea what to do because neither Eclipse nor Proguard would give any hint about what the problem could

Failed to export application after upgrade to Proguard 4.8

本秂侑毒 提交于 2020-01-13 09:04:03
问题 I just upgraded my Android SDK, ADT and Proguard to the latest and greatest. My project compiles builds and runs fine in debug mode, but as soon as I try to export a signed release APK of it, I receive an error from the Export Wizard without any error log messages on the Eclipse console!* If I try to view the error log via Window->Show View->Error Log all I see is more of the same: I have no idea what to do because neither Eclipse nor Proguard would give any hint about what the problem could

IRC library for Android (From 2.3.3 to 4.0.3 )? [closed]

穿精又带淫゛_ 提交于 2020-01-13 05:51:51
问题 Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 5 years ago . Is there any android-compatible (from 2.3.3 to 4.0.3) IRC library for Android ? As of yet I am unable to find one, and any assistance is appreciated! 回答1: Try http://www.yaaic.org They have the souce in GitHub https://github.com/pocmo/Yaaic/ 来源: https://stackoverflow.com/questions/11131853/irc-library-for

How does android merge the custom library's support library with that of application? [duplicate]

假装没事ソ 提交于 2020-01-13 05:51:26
问题 This question already has an answer here : How do make sure there is no conflict of “v7 appcompat or support” of my library when any application uses my library? (1 answer) Closed 3 years ago . I have a android library with com.android.support:appcompat-v7:23.0.1 dependency in the gradle with compliedSDK of 23 I have following doubts case 1) Say any applicaion with different version com.android.support:appcompat-v7:23.3.0 uses my library. which version does the android take? Lower one or

Do library dependency increase size of APK?

亡梦爱人 提交于 2020-01-13 03:13:10
问题 I have multiple libraries in my project like dependencies { compile files('libs/universalloaderlibrary.jar') compile fileTree(dir: 'libs', include: ['*.jar']) compile 'com.android.support:appcompat-v7:22.2.1' compile 'com.android.support:design:22.2.1' compile 'com.android.support:recyclerview-v7:22.2.1' compile 'com.android.support:cardview-v7:22.2.1' compile 'de.hdodenhof:circleimageview:1.3.0' compile 'com.jakewharton:butterknife:7.0.1' //noinspection GradleCompatible compile 'com.google

Does an Android Library need a manifest ,app_name,Icon?

此生再无相见时 提交于 2020-01-12 11:58:19
问题 I have an android Library that outputs an aar library. This library will be built into different projectFlavors of Mobile, TV and Wear apps. I think that each of these platforms' should be the ones that set variables like the app name, icon, and permissions through the manifest and productflavors. Is there any way to build an AAR without requiring an AndroidManifest.xml and therefore drawables(for the icon)? More information about what I'm doing can be found at my last question on the subject

Does an Android Library need a manifest ,app_name,Icon?

强颜欢笑 提交于 2020-01-12 11:58:08
问题 I have an android Library that outputs an aar library. This library will be built into different projectFlavors of Mobile, TV and Wear apps. I think that each of these platforms' should be the ones that set variables like the app name, icon, and permissions through the manifest and productflavors. Is there any way to build an AAR without requiring an AndroidManifest.xml and therefore drawables(for the icon)? More information about what I'm doing can be found at my last question on the subject