Java 呈现问题-找不到以下类
我添加了对棒棒糖前设备的圆形显示的支持。 我已经阅读了安装指南,一切都很好!它编译时没有错误,在应用程序中的工作与预期一样。然而,我面临一些无法摆脱的“渲染问题”警告。它说:Java 呈现问题-找不到以下类,java,android,xml,android-studio,android-xml,Java,Android,Xml,Android Studio,Android Xml,我添加了对棒棒糖前设备的圆形显示的支持。 我已经阅读了安装指南,一切都很好!它编译时没有错误,在应用程序中的工作与预期一样。然而,我面临一些无法摆脱的“渲染问题”警告。它说: Rendering Problems The following classes could not be found: - io.codetail.widget.RevealLinearLayout (Fix Build Path, Create Class) Tip: Try to build the projec
Rendering Problems
The following classes could not be found:
- io.codetail.widget.RevealLinearLayout (Fix Build Path, Create Class)
Tip: Try to build the project.
My.xml文件:
My build.gradle(模块:应用程序)
上面写着编译com.github.ozodrukh:CircularReveal:1.1。0@aar“在自述文件中。你试过把
aar
文件包括进来吗?@KNeerajLal我有一个问题,这里描述了:有人说要删除@aar
,它确实起了作用。编辑:只是尝试添加@aaf
,看看这是否解决了问题,但没有。它说compile'com.github.ozodrukh:CircularReveal:1.1。0@aar“
在自述文件中。你试过把aar
文件包括进来吗?@KNeerajLal我有一个问题,这里描述了:有人说要删除@aar
,它确实起了作用。编辑:只是尝试添加@aaf
以查看这是否解决了问题,但没有。
apply plugin: 'com.android.application'
android {
compileSdkVersion 22
buildToolsVersion "22.0.1"
defaultConfig {
applicationId "//"
minSdkVersion 16
targetSdkVersion 22
versionCode 1
versionName "1.0"
}
}
repositories {
maven { url 'https://jitpack.io' }
}
dependencies {
compile fileTree(include: ['*.jar'], dir: 'libs')
compile 'com.android.support:support-v4:22.2.0'
compile 'com.android.support:support-v13:21.0.2'
compile 'com.github.ozodrukh:CircularReveal:1.1.1'
}