Tüm Faaliyetler ve düzenleri Android Studio bozuk var

oy
1

Ben 3 aydır bir proje üzerinde çalışıyorum. Bugün benim faaliyetleri ve xml dosyalarının en bozuk var. Ben workspace.iml dosya silme denedi ama VCS same.Local Geçmişi da boş kalır. Bu sorunu kodumu kurtarmak veya çözmek için herhangi bir yolu var mı. Bu dosyalar Ben Notepad app / SCRC / ana / activity.java sonra açarsanız önceki ile aynıdır, ancak Android stüdyoda farklı gösteren Not

İşte benim kod artık neye benzediğini

<component name=libraryTable>  <library name=Gradle: com.google.firebase:firebase-measurement-connector-impl-17.0.3>
<CLASSES>
  <root url=file://$USER_HOME$/.gradle/caches/transforms-1/files-1.1/firebase-measurement-connector-impl-17.0.3.aar/fb2536827bf92d82ab72080a9863eb78/res />
  <root url=jar://$USER_HOME$/.gradle/caches/transforms-1/files-1.1/firebase-measurement-connector-impl-17.0.3.aar/fb2536827bf92d82ab72080a9863eb78/jars/classes.jar!/ />
</CLASSES>
<JAVADOC />
<SOURCES />

gradle dosyası:

apply plugin: 'com.android.application'apply plugin: 'com.google.gms.google-services'android {
compileSdkVersion 28
defaultConfig {
    applicationId com.apkfeast.class11walkthrogh
    minSdkVersion 16
    targetSdkVersion 28
    versionCode 1
    versionName 1.0
    testInstrumentationRunner android.support.test.runner.AndroidJUnitRunner
    multiDexEnabled true
}
buildTypes {
    release {
        minifyEnabled false
        proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'        }  }}dependencies {
implementation fileTree(dir: 'libs', include: ['*.jar'])
implementation 'com.android.support:appcompat-v7:28.0.0'
implementation 'com.android.support.constraint:constraint-layout:1.1.3'
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'
implementation 'com.android.support:design:28.0.0'
implementation 'com.github.chrisbanes:PhotoView:2.1.3'
implementation 'com.android.support:recyclerview-v7:28.0.0'
implementation 'com.google.firebase:firebase-database:16.0.5'
implementation 'com.google.firebase:firebase-core:16.0.5'
implementation 'com.squareup.picasso:picasso:2.71828'
implementation 'com.github.bumptech.glide:glide:4.8.0'
annotationProcessor 'com.github.bumptech.glide:compiler:4.8.0'
implementation 'com.firebaseui:firebase-ui-database:4.2.1'
implementation 'com.github.bumptech.glide:compiler:4.8.0'
implementation 'com.github.bumptech.glide:annotations:4.8.0'
implementation 'com.firebase:firebase-client-android:2.5.2'
implementation 'com.google.firebase:firebase-storage:16.0.5'
implementation 'com.google.firebase:firebase-auth:16.0.5'
implementation 'com.google.firebase:firebase-database:16.0.1'
implementation 'com.google.android.gms:play-services-ads:17.1.1'
implementation 'com.android.support:multidex:1.0.3'}apply plugin: 'com.google.gms.google-services'

apaçık

<?xml version=1.0 encoding=utf-8?><manifest xmlns:android=http://schemas.android.com/apk/res/android
package=com.apkfeast.class11walkthrogh
android:screenOrientation=portrait >

<uses-permission android:name=android.permission.ACCESS_WIFI_STATE />
<uses-permission android:name=android.permission.ACCESS_NETWORK_STATE />
<uses-permission android:name=android.permission.INTERNET />
<uses-permission android:name=android.permission.WRITE_EXTERNAL_STORAGE />

<application
    android:allowBackup=true
    android:icon=@mipmap/ic_launcher
    android:label=@string/app_name
    android:roundIcon=@mipmap/ic_launcher_round
    android:supportsRtl=true
    android:theme=@style/AppTheme
    android:fullBackupContent=true>
    <activity android:name=.Splash>
        <intent-filter>
            <action android:name=android.intent.action.MAIN />
            <action android:name=android.intent.action.VIEW />

            <category android:name=android.intent.category.LAUNCHER />
        </intent-filter>
    </activity>
    <meta-data
        android:name=com.google.android.gms.ads.APPLICATION_ID
        android:value=ca-app-pub-3940256099942544~3347511713/>

    <activity android:name=.Hyderabad />
    <activity android:name=.Mirpurkhas />
    <activity android:name=.SelectBoard />
    <activity android:name=.Quiz />
    <activity android:name=.Notes />
    <activity android:name=.fedral />
    <activity android:name=.sukkur />
    <activity android:name=.larkana />
    <activity android:name=.aghakhan />
    <activity android:name=.sarghoda />
    <activity android:name=.Rawalpindi />
    <activity android:name=.Faisalabad />
    <activity android:name=.Multan />
    <activity android:name=.Gujranwala />
    <activity android:name=.lahore />
    <activity android:name=.karachi />
    <activity android:name=.sahiwal />
    <activity android:name=.dgkhan />
    <activity android:name=.peshawar />
    <activity android:name=.bahawalpur />
    <activity android:name=.balochistan />
    <activity android:name=.hydchem />
    <activity android:name=.hydphy />
    <activity android:name=.hydbio />
    <activity android:name=.hydeng />
    <activity android:name=.hydisl />
    <activity android:name=.hydurd />
    <activity android:name=.hydmat />
    <activity android:name=.hydpak />
    <activity android:name=.hydviewdown />
    <activity android:name=.mpkVD />
    <activity android:name=.fedVD />
    <activity android:name=.sukVD />
    <activity android:name=.larVD />
    <activity android:name=.sarVD />
    <activity android:name=.rawVD />
    <activity android:name=.faiVD />
    <activity android:name=.mulVD />
    <activity android:name=.gujVD />
    <activity android:name=.lahVD />
    <activity android:name=.khiVD />
    <activity android:name=.sahVD />
    <activity android:name=.dgkVD />
    <activity android:name=.pesVD />
    <activity android:name=.bahVD />
    <activity android:name=.balVD />
    <activity android:name=.result />
    <activity android:name=.bioquiz />
    <activity android:name=.chemquiz />
    <activity android:name=.phyquiz />
    <activity android:name=.full />
</application>

</manifest>

çözülmüş

Ben C tüm dosyaları silerek sabit o: \ Users \ cc.AndroidStudio3.2 \ sistem \ önbelleklerini.

Oluştur 27/11/2018 saat 18:22
kaynak kullanıcı
Diğer dillerde...                            


1 cevaplar

oy
1

Ben de bu sabah aynı sorunu vardı. Bu AndroidX göç nedeniyle düşündüm ama bu yanlış oldu. Bu nedeniyle indeksleme kuvveti durdurdu olduğu gibi için uygunsuz indeksleme ve binaya oluşabilir. ya nedeniyle bazı IDE sorunları.

isuue gradle ve projede .idea klasör silme ve D Android Studio IDE önbelleğini temizleyerek çözüldü: \ Users \ ABCD.AndroidStudio3.2 \ sistem \ önbelleklerini. Ve mesele çözüldü.

Not: - Proje yedeklemeler Günlük ayırın.

Cevap 23/12/2018 saat 06:40
kaynak kullanıcı

Cookies help us deliver our services. By using our services, you agree to our use of cookies. Learn more