DataBinding
을 내 클래스 CardRecicleViewAdapterTech.class
중 하나에 사용했지만 DataBinding을 지원하지 않는 라이브러리를 가져 왔으며 해당 클래스에 butter knife
으로 전환했습니다. 문제는 프로젝트를 실행할 때 Android Studio
은 항상 CardRecicleViewAdapterTech.class
과 관련된 클래스 바인딩을 생성하며 이로 인해 충돌이 발생합니다. 생성 된 클래스는 다음과 같습니다 나는 안드로이드 스튜디오 데이터 바인딩 폴더에 자바 해당 파일을 삭제 한생성 된 데이터 바인딩 코드를 제거 할 수 없습니다
CardViewTechBinding.java,하지만 다시 생성하고 다시 나에 더 이상
databinding
를 사용하지 않는 경우에도 내xml
또는 내class
.이 내가 시도한
dataBinding
<?xml version="1.0" encoding="utf-8"?> <android.support.v7.widget.CardView xmlns:android="http://schemas.android.com/apk/res/android" xmlns:card_view="http://schemas.android.com/apk/res-auto" xmlns:ProgressWheel="http://schemas.android.com/apk/res-auto" android:id="@+id/card_tech" android:layout_width="match_parent" android:layout_height="250dp" android:layout_gravity="center" android:layout_marginTop="@dimen/standard_margin" android:layout_marginLeft="@dimen/standard_margin" android:layout_marginRight="@dimen/standard_margin" card_view:cardCornerRadius="4dp" card_view:cardBackgroundColor="@color/primary_light"> <LinearLayout android:orientation="vertical" android:layout_width="match_parent" android:layout_height="match_parent"> <TextView android:text="TextView" android:layout_width="match_parent" android:layout_height="wrap_content" android:id="@+id/text_view_technologie_name" /> <com.pro.soft.apppresentation.ProgressWheel android:id="@+id/pw_spinner" android:layout_width="200dp" android:layout_height="200dp" android:layout_centerInParent="true" ProgressWheel:pwText="Authenticating..." ProgressWheel:pwTextColor="#222" ProgressWheel:pwTextSize="14sp" ProgressWheel:pwRimColor="#330097D6" ProgressWheel:pwBarLength="60dp" ProgressWheel:pwBarColor="#0097D6" ProgressWheel:pwBarWidth="5dp" ProgressWheel:pwRimWidth="2dp" /> </LinearLayout> </android.support.v7.widget.CardView>
를 사용하고 있지 않다하더라도 나는 그래서
CardViewTechBinding.java
을 생성 card_view_tech.xml에게을 데이터 바인딩 사용하지 않는 내 레이아웃입니다 내 PC를 다시 시작하고 캐시를 무효화하고 Android Studio를 다시 시작하지만 성공하지 못했습니다. 도와주세요. 이 순서에서
당신은 프로젝트를 청소하려고 노력 해요? –
예, 아무것도 변경하지 않았습니다. – JoCuTo
build.gradle 파일에서 비활성화하려고 했습니까? –