title: Can Not Perform Copy-Paste in Android Studio
body: <p>I have faced two main problems in Android Studio. First of all I can not perform <strong>copy-paste</strong> and <strong>cut-paste</strong> (<kbd>ctrl</kbd>+<kbd>c</kbd> - <kbd>ctrl</kbd>+<kbd>v</kbd> - <kbd>ctrl</kbd>+<kbd>x</kbd>) abilities in some classes. To fix that problem, I click "invalide caches/restarts", but it breaks down again immediately.</p>
  
  <p>Second problem is (I think it is related to the first problem) compiler does not recognize already defined methods and attributes. Auto suggestion etc. does not work.</p>
  
  <p>The steps I've taken to try to fix the problem are;</p>
  
  <ol>
  <li>File -> invalide caches/restarts,</li>
  <li>File -> Power Save Mode -> Disable,</li>
  <li>Close all opened tabs and fresh restart,</li>
  <li>File -> Sync Project with Gradle Files,</li>
  <li>File -> Sync with File System,</li>
  <li>Delete JDK and reinstall,</li>
  <li>Delete Android Studio and reinstall,</li>
  <li>Delete already downloaded SDK files and ".Android" folder,</li>
  <li>Disable and delete all plugins.</li>
  <li>Checked copy-paste keymap in File -> Settings -> Keymap </li>
  <li>Pulled the project from bitbucket to different 2 computers</li>
  <li>Created new project, copy whole project classes with NotePad++ to
   new Project</li>
  <li>Try to convert all Java codes to Kotlin, cannot convert</li>
  </ol>
  
  <p>Here is my system specifications; Windows 10 Home Single Language (TR), version 1909. 16 GB ram. Android Studio 3.5.3 and Gradle Version 3.5.3</p>
  
  <p>I have read all post about the same problem but there is no luck (The posts are only about MAC and Linux platform).</p>
  
  <p><strong>UPDATE 1.0 -></strong>
  I have discovered that some classes cannot do the operations described above, but some classes can. </p>
  
  <p>I realized that, There are no icons for classes that cannot do the operations I have described above. (Sometimes magically appears "J" icons and when I clicked another class, this J icon disappears immediately.) I think gradle or file system of Android Studio does not recognize these files as classes.</p>
  
  <p><strong>UPDATE 2.0 -></strong>
  I have noticed that when I clicked the Structure section of DuoFragment (Which has 500+ lines codes and one of the uncompiled class) cannot load anything. Is DuoFragment size is bigger to process? </p>
  
  <p>Also when I checked the Build section, some processes cannot run (I do not know if this is normal or not); </p>
  
  <ul>
  <li>Task :app:compileDebugAidl NO-SOURCE,</li>
  <li>Task :app:compileDebugRenderscript NO-SOURCE,</li>
  <li>Task :app:processDebugJavaRes NO-SOURCE</li>
  </ul>
  
  <p><strong>UPDATE 3.0 -></strong></p>
  
  <p>Here are my Gradle files.
  Project Level Gradle file :</p>
  
  <pre><code>// Top-level build file where you can add configuration options common to all sub-projects/modules.
  
  buildscript {
      repositories {
          google()
          jcenter()
  
  
      }
      dependencies {
          classpath 'com.android.tools.build:gradle:3.5.3'
  
  
          // NOTE: Do not place your application dependencies here; they belong
          // in the individual module build.gradle files
      }
  }
  
  allprojects {
      repositories {
          google()
          jcenter()
          maven { url 'https://jitpack.io' }
      }
  }
  
  task clean(type: Delete) {
      delete rootProject.buildDir
  }
  </code></pre>
  
  <p>App level Gradle file.</p>
  
  <pre><code>apply plugin: 'com.android.application'
  apply plugin: 'kotlin-android'
  apply plugin: 'kotlin-android-extensions'
  
  android {
      compileSdkVersion 29
      buildToolsVersion "29.0.2"
      defaultConfig {
          applicationId "com.lotusif.dump2"
          minSdkVersion 21
          targetSdkVersion 29
          versionCode 1
          versionName "1.0"
      }
      buildTypes {
          release {
              minifyEnabled false
              proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
          }
      }
      compileOptions {
          sourceCompatibility = 1.8
          targetCompatibility = 1.8
      }
  }
  
  dependencies {
      implementation fileTree(dir: 'libs', include: ['*.jar'])
      implementation 'androidx.appcompat:appcompat:1.1.0'
      implementation 'androidx.constraintlayout:constraintlayout:1.1.3'
      implementation 'androidx.recyclerview:recyclerview:1.1.0'
      implementation 'androidx.core:core:1.1.0'
  
      // material widgets
      implementation 'com.google.android.material:material:1.2.0-alpha03'
  
      // progress bar with text 
      implementation "com.github.skydoves:progressview:1.0.3"
  
      // sequence progress
     implementation 'com.github.transferwise:sequence-layout:1.0.11'
  
      // flash bar
     implementation 'com.andrognito.flashbar:flashbar:1.0.2'
  
      // toggle - switch button
     implementation 'com.github.GwonHyeok:StickySwitch:0.0.15'
  
      // Custom Toast message
      implementation 'com.github.GrenderG:Toasty:1.4.2'
  
      // liquid effect bar
      implementation 'com.mikhaellopez:circularfillableloaders:1.3.2'
  
      // bubble tab bar
      implementation 'com.fxn769:bubbletabbar:1.0.3'
  
      //glide image library
      implementation 'com.github.bumptech.glide:glide:4.10.0'
      annotationProcessor 'com.github.bumptech.glide:compiler:4.10.0'
  
      // scaling layout
      implementation 'com.github.iammert:ScalingLayout:1.2.1'
  
      // lottie animation
      implementation 'com.airbnb.android:lottie:3.3.1'
  
      //Gson
      implementation 'com.google.code.gson:gson:2.8.6'
  
      //RxJava
      implementation 'io.reactivex.rxjava2:rxjava:2.2.15'
      implementation 'io.reactivex.rxjava2:rxandroid:2.0.1'
  
      implementation 'com.daimajia.easing:library:2.1@aar'
      implementation 'com.daimajia.androidanimations:library:2.3@aar'
  
      //retrofit
      implementation 'com.squareup.retrofit2:converter-gson:2.7.1'
      implementation 'com.squareup.retrofit2:retrofit:2.7.1'
      implementation 'com.squareup.retrofit2:adapter-rxjava2:2.7.1'
  
  }
  </code></pre>
  
  <p><a href="https://i.stack.imgur.com/RxvXr.png" rel="noreferrer"><img src="https://i.stack.imgur.com/RxvXr.png" alt="No Suggestion"></a>
  <a href="https://i.stack.imgur.com/Vvdds.png" rel="noreferrer"><img src="https://i.stack.imgur.com/Vvdds.png" alt="Keymap"></a>
  <a href="https://i.stack.imgur.com/6I5G1.png" rel="noreferrer"><img src="https://i.stack.imgur.com/6I5G1.png" alt="Android Version"></a>
  <a href="https://i.stack.imgur.com/UvkEE.png" rel="noreferrer"><img src="https://i.stack.imgur.com/UvkEE.png" alt="Gradle sync is successfully if I do not add additional code"></a></p>
  
  <p><strong>UPDATE 1.0 Images</strong></p>
  
  <p><a href="https://i.stack.imgur.com/ELLdE.png" rel="noreferrer"><img src="https://i.stack.imgur.com/ELLdE.png" alt="The classes there are no icons or only have &quot;J&quot; icon cannot do operations"></a></p>
  
  <p><a href="https://i.stack.imgur.com/ceiuf.png" rel="noreferrer"><img src="https://i.stack.imgur.com/ceiuf.png" alt="When I clicked/opened another class, &quot;J&quot; icon disappeared"></a></p>
  
  <p><strong>UPDATE 2.0 Images</strong></p>
  
  <p><a href="https://i.stack.imgur.com/Xthey.png" rel="noreferrer"><img src="https://i.stack.imgur.com/Xthey.png" alt="Some process cannot be done in Build section"></a>
  <a href="https://i.stack.imgur.com/DkoNX.png" rel="noreferrer"><img src="https://i.stack.imgur.com/DkoNX.png" alt="Cannot load DuoFragment structure"></a>
  <a href="https://i.stack.imgur.com/OgaCK.png" rel="noreferrer"><img src="https://i.stack.imgur.com/OgaCK.png" alt="DuoFragment code summary"></a></p>