KotlinAndroid icon indicating copy to clipboard operation
KotlinAndroid copied to clipboard

组件化 + MVP + Retrofit + RxKotlin + Dagger2实现的一款用Kotlin语言编写的多媒体类应用。

Results 8 KotlinAndroid issues
Sort by recently updated
recently updated
newest added

Execution failed for task ':Home:compileDebugJavaWithJavac'. > Unable to find source java class: 'F:\KotlinAndroid\Home\build\generated\not_namespaced_r_class_sources\debug\processDebugResources\r\android\arch\core\R.java' because it does not belong to any of the source dirs: '[F:\KotlinAndroid\Home\build\generated\source\kapt\debug, F:\KotlinAndroid\Home\build\generated\source\kapt\debug, F:\KotlinAndroid\Home\src\main\java, F:\KotlinAndroid\Home\src\debug\java, F:\KotlinAndroid\Home\build\generated\source\buildConfig\debug, F:\KotlinAndroid\Home\build\generated\aidl_source_output_dir\debug\compileDebugAidl\out,...

ERROR: Unable to resolve dependency for ':Provider@debug/compileClasspath': Could not resolve com.github.jdsjlzx:LRecyclerView:1.5.0. Show Details Affected Modules: Provider WARNING: API 'variant.getPackageLibrary()' is obsolete and has been replaced with 'variant.getPackageLibraryProvider()'. It will be...

这个方式经常出现 FAILURE: Build failed with an exception. * What went wrong: Execution failed for task ':Provider:transformClassesAndResourcesWithPrepareIntermediateJarsForDebug'. > java.lang.RuntimeException: java.io.IOException: Failed to delete \build\intermediates\intermediate-jars\debug\classes.jar 这个文件无法删除,被java.exe占用了,这个有没有什么方法解决?经常要手动就接触占用

在android studio 打开报错: ERROR: Could not install Gradle distribution from 'https://services.gradle.org/distributions/gradle-4.10.1-all.zip'.

在项目根目录下新建一个文件夹,将Module移入该文件夹时,APK安装不了,安装时android studio 弹窗提示如下: Installation failed with message INSTALL_FAILED_INVALID_APK. It is possible that this issue is resolved by uninstalling an existing version of the apk if it is present, and then...

E/AndroidRuntime: FATAL EXCEPTION: main Process: com.gfd.video, PID: 22314 java.lang.NoClassDefFoundError: dagger.internal.Preconditions at com.gfd.common.injection.component.DaggerAppComponent$Builder.appMoudle(DaggerAppComponent.java:48) at com.gfd.common.common.BaseApplication.initInjection(BaseApplication.kt:30) at com.gfd.common.common.BaseApplication.onCreate(BaseApplication.kt:23) at com.gfd.video.MainApplication.onCreate(MainApplication.kt:16) at android.app.Instrumentation.callApplicationOnCreate(Instrumentation.java:1007) at android.app.ActivityThread.handleBindApplication(ActivityThread.java:4632) at android.app.ActivityThread.access$1800(ActivityThread.java:141) at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1298) at android.os.Handler.dispatchMessage(Handler.java:102) at android.os.Looper.loop(Looper.java:136)...

项目可以BUILD SUCCESSFUL,但是准备Run ‘app’到手机的时候,Android Studio的Build标签界面报错提示: You have duplicate classes with the same name : META-INF.versions.9.module-info please remove duplicate classes 我按照网上资料,把\KotlinAndroid\PluginSwitch\build.gradle的 implementation group: 'org.javassist', name: 'javassist', version: '3.20.0-GA' 修改为: implementation group: 'org.javassist',...