Closed saurav12bisht closed 2 years ago
Add maven url https://s01.oss.sonatype.org/service/local/staging/deploy/maven2/
to allrepository/dependencies
and change version to 0.1-SNAPSHOT
.
Class referenced in the layout file, com.hendraanggrian.appcompat.widget.SocialAutoCompleteTextView, was not found in the project or the libraries Cannot resolve class com.hendraanggrian.appcompat.widget.SocialAutoCompleteTextView
------------------------------i created this text view and its marking it red------------------------------- <com.hendraanggrian.appcompat.widget.SocialAutoCompleteTextView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:id="@+id/search_bar"
android:background="@android:color/transparent"
android:hint="Search..."
android:layout_marginStart="10dp"/>
Open project tab in your IntelliJ Idea/Android Studio. On the end of the list there should be External Libraries
, make sure you see socialview-commons
there. Otherwise, the library has not yet been pulled.
Closed due to inactivity.
FAILURE: Build completed with 8 failures.
1: Task failed with an exception.
What went wrong: Execution failed for task ':app:checkDebugAarMetadata'.
Try: Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
-------------------------------- Depedency i have used -----------------------------------------
implementation "com.hendraanggrian.appcompat:socialview:0.2" implementation "com.hendraanggrian.appcompat:socialview-commons:0.2"