Open adamqure opened 5 years ago
Any progress with this? I have the same problem
same issue
Gradle Plugin: 3.5.0 Gradle Version: 5.4.1 FatAAR plugin version: 2.0.3
I have same issue
Gradle Plugin: 3.5.0 Gradle Version: 5.4.1 FatAAR plugin version: 2.0.1
> Task :client:compileRsDebug FAILED
/Users/haenara/Documents/HaenaraDev/Android/999_TestProject/MultiModule/client/build/tmp/copyDebugDependencies/rs/androidx/core/ktx/R.java:5: error: package dev.haenara.customer.R does not exist
public static int alpha = dev.haenara.customer.R.attr.alpha;
^
...
dependencies {
api project(':core')
api project(':essential')
api project(':optfeature2')
api fileTree(dir: 'libs', include: ['*.jar'])
api "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
api 'androidx.appcompat:appcompat:1.0.2'
api 'androidx.core:core-ktx:1.1.0'
testApi 'junit:junit:4.12'
androidTestApi 'androidx.test:runner:1.2.0'
androidTestApi 'androidx.test.espresso:espresso-core:3.1.1'
}
I have the same issue. gradle:3.5.1
I have same issue. Gradle Plugin: 3.5.2 Gradle Version: 5.4.1 FatAAR plugin version: 2.0.1
I have exactly the same problem with version 2.0.1
Did anyone fix the issue?
Unfortunately no, I switched to a similar plugin https://github.com/kezong/fat-aar-android @yurii-diachenko
@yurii-diachenko sorry, but there's currently no one maintaining the project. However, the PRs are welcome and will be reviewed.
@askarsyzdykov Do you actually succeed to create a FAT AAR with the https://github.com/kezong/fat-aar-android ??? I follow the instructions there, and in the created AAR in the end there aren't the classes from the JARs in the "libs" folder
@Maja755 I didn't use jar files. I think you should create an issue in the Kezong repository
What are the steps to reproduce this issue?
What happens?
100 errors in the R.java file, all of them being error: package R does not exist
What were you expecting to happen?
Build completing without these errors
Any logs, error output, etc?
100 similar instances to the following:
{module_directory}/build/tmp/copyDebugDependencies/rs/androidx/viewpager/R.java:5: error: package com.(package_name).R does not exist public static int alpha = com.(package_name).R.attr.alpha;
Any other comments?
Module Gradle Dependencies:
dependencies { def lifecycle_version = '2.0.0-beta01' def paging_version = '2.0.0-beta01' def anko_version = '0.10.8' def lottieVersion = '3.0.1'
}
Gradle Plugin: 3.4.2 Gradle Version: 5.1.1 FatAAR plugin version: 2.0.1