android-library Questions
6
Solved
I'm working in a project that has 3 modules as shown below:
Project
|
|-- Common
|
|-- SDK
|
|-- App
Common is an Android library module that all the other modules depend on but I do not have t...
Milline asked 20/10, 2018 at 10:35
9
Solved
Retrofit 2 example tutorial but GsonConverterFactory display error "Cannot resolve symbol"
I'm trying to follow Retrofit's 2 tutorial, but on this part of the code there is a GsonConverterFactory that displays error Cannot resolve symbol:
public class ServiceGenerator {
public static ...
Casillas asked 23/10, 2015 at 14:9
32
Solved
How do I add a library project (such as Sherlock ABS) to Android Studio?
(Not to the old ADT Eclipse-based bundle, but to the new Android Studio.)
Diacritic asked 16/5, 2013 at 12:55
14
Solved
I have a library (jar) on build path of my project. The project accesses the MainActivity in the jar, using the following intent:
final Intent it = new Intent();
it.setClassName("com.example.lib",...
Fao asked 7/11, 2013 at 6:38
4
Solved
I created an aar and i added it to my project as an module. in this module i have a HelloWorldActivity that i want to run.
my module manifest looks like this.
<application
android:allowBack...
Montpellier asked 30/10, 2015 at 6:14
6
Solved
Trying to run instrumentation test on AS.
stuck with this Error:
java.lang.IllegalStateException: Could not initialize plugin: interface org.mockito.plugins.MockMaker
at org.mockito.internal.confi...
Pleura asked 25/1, 2017 at 11:44
1
I am trying to create a library in android studio by following this official documentation. But in this particular project, I am facing this issue. if I create new project and create new lib I don'...
Hannover asked 18/2, 2023 at 12:10
21
Solved
Is there someone who had experience with this error?
java.lang.UnsatisfiedLinkError: dalvik.system.PathClassLoader[DexPathList[[zip file "/data/app/org.swig.simple-2/base.apk"],nativeLibraryDirect...
Lauritz asked 28/11, 2014 at 10:30
6
Solved
After updating Android Studio to 1.0, I see this error:
Error: Library projects cannot set applicationId. applicationId is set
to 'com.super.app' in default config.
I updated the Gradle plugi...
Irrigate asked 9/12, 2014 at 9:2
5
Solved
I have a directory/project setup like this:
C:\
_dev\
Projects\
Logger
MyProject
Logger is an Android library project using Gradle. MyProject is a standard Android project project that needs...
Lingua asked 10/10, 2013 at 14:58
0
I tried to use different package name namespace for different product flavors in my Android library project. With the followed configuration
productFlavors {
foo {
namespace 'com.example.foo'
m...
Beadle asked 22/3, 2023 at 9:20
4
We build a library that we distribute to our customers. We distribute the raw aar files for them to use. Also we use the raw access API of GitHub to provide a Maven repository.
Now to keep things ...
Heronry asked 19/2, 2015 at 11:37
7
Solved
Can somebody give me a hint on how to use the maven-publish Gradle plugin to publish a com.android.library project/module with AAR and source jar? I am able to do this with the old maven plugin - b...
Manifold asked 11/11, 2014 at 21:1
2
Getting red underline while adding com.Smarteist.autoimageslider.slideview in XML file in Android Studio. How to resolve?
It's showing:
Unable to resolve dependency for ':app@debug/compileClasspath...
Woodsy asked 6/7, 2021 at 10:55
5
Solved
TL'DR: In this Android Kotlin library I updated from Gradle 5.6.4 to 6.6.1 (commit d5d8d2). Now I cannot build a project depending on the aar anymore.
Test setup
I build and deploy the aar to maven...
Faultless asked 21/11, 2020 at 16:51
2
Solved
I have created a library module in my project. Now, I want to share/publish this library with others. Sharing a .aar file would be fine for now.
I went through the article -
https://developer.andro...
Transduction asked 10/5, 2018 at 7:1
8
Solved
I have investigated a while and probably saw most popular answers here related to aar and transitive dependencies but somehow it is still not clear for me how to make this working.
So:
I have and...
Humus asked 1/4, 2014 at 19:45
7
Solved
I have android library project which depends on other android library projects. I need to generate javadoc for library but it fails because gradle puts to javadoc classpath path to .aar locations b...
Rothschild asked 7/3, 2016 at 20:59
5
Solved
i ran into following error an cannot find an solution.
Execution failed for task ':app:kaptDebugKotlin'.
> A failure occurred while executing org.jetbrains.kotlin.gradle.internal.KaptExecution
...
Bridle asked 26/1, 2021 at 13:0
2
In the library module's manifest, I need to use an Application class. Is it possible to do this in Android?
Manifest:
<application
android:name="com.compnay.app.App"
android:allowBackup="tr...
Saidel asked 7/6, 2020 at 17:20
4
java.lang.NoClassDefFoundError: Failed resolution of: Lorg/jacoco/agent/rt/internal_773e439/Offline;
I have an android application which depends on some android libraries I have built on my own.
If I build the application with the library dependencies specified in the build.gradle then I get the ...
Horatio asked 11/5, 2016 at 3:25
3
I have a android library project and reusable drawable resources in it.
Lets say package name is: com.vijay.mylib;
Then i have a main project and it uses the above library project.
Lets say its...
Trojan asked 5/6, 2011 at 6:47
6
How can I convert an existing Android project into an Android library project in Android Studio? In Eclipse, that is possible.
Actually, I want to convert an old Android project into an Android li...
Shipload asked 12/7, 2013 at 11:47
2
Solved
I need to know how to "DROP FROM Table" using Room Persistence Library.
I already know that we can delete all the rows using the method:
@Query("DELETE FROM table")
void deleteAll();
However, w...
Milore asked 18/3, 2019 at 17:23
9
Solved
I recently downloaded the ViewPagerIndicator library and imported it into android studio. After adding it to my project I get a rendering error "The following classes could not be found:" and point...
Fiann asked 24/8, 2014 at 22:52
1 Next >
© 2022 - 2025 — McMap. All rights reserved.