BookReader icon indicating copy to clipboard operation
BookReader copied to clipboard

problems when i build the project

Open Ayman-SHaaban-ELsayed opened this issue 1 year ago • 8 comments

i face this problems when i build the project please help: 1- Caused by: groovy.lang.MissingPropertyException: Could not set unknown property 'includeCompileClasspath' for AnnotationProcessorOptions$AgpDecorated_Decorated{classNames=[], arguments={}, compilerArgumentProviders=[]} of type com.android.build.gradle.internal.dsl.AnnotationProcessorOptions$AgpDecorated this problem refers to this line in gradle file:

 javaCompileOptions {
            annotationProcessorOptions {
                includeCompileClasspath = true           //<<here the problem
            }
        }
    }

2-build gradle for EasyAdapterLibrary in the app needs to update. 3-Android Manifest gives many error ,please try to run the project and solve this problems. 4- this line in build.gradle(BookreaderMaster maven { url 'http://maven.aliyun.com/nexus/content/groups/public/' }//阿里云镜像服务 gives this error: Using insecure protocols with repositories, without explicit opt-in, is unsupported. Switch Maven repository 'maven(http://maven.aliyun.com/nexus/content/groups/public/)' to redirect to a secure protocol (like HTTPS) or allow insecure protocols. See https://docs.gradle.org/7.5.1/dsl/org.gradle.api.artifacts.repositories.UrlArtifactRepository.html#org.gradle.api.artifacts.repositories.UrlArtifactRepository:allowInsecureProtocol for more details. 5-please update the target Sdk Version to a higher version like: 32 to be suitable for the new devices .

Ayman-SHaaban-ELsayed avatar Oct 10 '22 22:10 Ayman-SHaaban-ELsayed