импорт android.view.View;не может разрешить символ «вид» - PullRequest
1 голос
/ 17 июня 2019

В Android Studio 3.4.1 onClick слушатель, а не fount, и теперь он показывает setOnEditorActionListener

bth.setOnEditorActionListener(new TextView.OnEditorActionListener() {
                @Override
                public boolean onEditorAction(TextView v, int actionId, KeyEvent event) {
                    return false;
                }
            });

import android.view.View;
не может разрешить символ 'view'

Это был рабочий проект, он показывает эту ошибку
если я запустил его, он запустится без проблем
Я открою его из другого PC и такой проблемы не будет.


Я использую последнюю версию Android Studio 3.4.1

dependencies {
    implementation fileTree(dir: 'libs', include: ['*.jar'])
    //noinspection GradleCompatible
    implementation 'com.android.support:appcompat-v7:28.0.0'
    implementation 'com.android.support:animated-vector-drawable:28.0.0'
    implementation 'com.android.support:support-v4:28.0.0'
    implementation 'com.android.support.constraint:constraint-layout:1.1.3'
    implementation 'com.android.support:design:28.0.0'
    //firebase
    implementation 'com.google.firebase:firebase-core:16.0.4'
    implementation 'com.crashlytics.sdk.android:crashlytics:2.9.6'
    //slider
    implementation project(':library')
    //glide
    implementation 'com.github.bumptech.glide:glide:4.7.1'
    //recyclerview gravity
    implementation 'com.github.rubensousa:gravitysnaphelper:1.5'
    // rating library
    implementation 'com.github.ome450901:SimpleRatingBar:1.4.2'
    //cardview
    implementation 'com.android.support:cardview-v7:28.0.0'

    //retrofit
    implementation 'com.squareup.retrofit2:retrofit:2.3.0'
    implementation 'com.google.code.gson:gson:2.8.2'
    implementation 'com.squareup.retrofit2:converter-gson:2.3.0'

    implementation 'com.squareup.okhttp3:logging-interceptor:3.8.0'

    //timber-logging interceptor
    implementation 'com.jakewharton.timber:timber:4.7.1'

    //round corner image
    implementation 'com.makeramen:roundedimageview:2.3.0'

    //Html tag remover
    implementation 'org.jsoup:jsoup:1.11.3'

    implementation 'com.google.code.gson:gson:2.6.2'

    //    dots indicator
    implementation 'com.ryanjeffreybrooks:indefinitepagerindicator:1.0.10'
    implementation 'com.tbuonomo.andrui:viewpagerdotsindicator:2.1.2'

    implementation 'com.google.firebase:firebase-messaging:17.6.0'
    annotationProcessor 'com.github.bumptech.glide:compiler:4.7.1'
    testImplementation 'junit:junit:4.12'
    androidTestImplementation 'com.android.support.test:runner:1.0.2'
    androidTestImplementation 'com.android.support.test.espresso:espresso-core:3.0.2'

    // for unit test
    testImplementation 'com.squareup.okhttp3:mockwebserver:3.12.0'
    testImplementation 'org.mockito:mockito-android:2.7.22'

    implementation 'com.github.sharish:ShimmerRecyclerView:v1.3'


}

Я попробовал потерянные деньги и перезапустил
перезагрузил компьютер
переустановил андроид студию
Но безрезультатно
Член моей команды android studio confi
Android Studio 3.2.1
Сборка # AI-181.5540.7.32.5056338, построена 9 октября 2018 г.
JRE: 1.8.0_152-release-1136-b06 amd64
JVM: 64-разрядная серверная виртуальная машина OpenJDK от JetBrains sro
Windows 10 10.0

Моя студия Android

Android Studio 3.4.1
Сборка # AI-183.6156.11.34.5522156, построено 2 мая 2019 года
JRE: 1.8.0_152-выпуск-1343-b01 amd64
JVM: OpenJDK 64-битный сервер VM от JetBrains sro
Windows 10 10.0


Проект из git

Добро пожаловать на сайт PullRequest, где вы можете задавать вопросы и получать ответы от других членов сообщества.
...