1

After importing this project into Android Studios and I keep getting the error

Task 'assemble' not found in root project 'brick-blast-ball-RL-master'.

I've tried to fix this through the gradle and the build works in the .cmd terminal, but the build keeps failing due to the error above.

this question didn't resolve the problem, all facet have been removed.

What do I need to do to the code linked above to be able to run it on my cell phone?

gradle:

task assemble{

}
buildscript {
    repositories {
        mavenCentral()
        google()
    }
    dependencies {
        classpath 'com.android.tools.build:gradle:0.2'
    }
}

allprojects {
    repositories {
        mavenCentral()
        google()
   }
}
Rabbid76
  • 202,892
  • 27
  • 131
  • 174
  • Possible duplicate of [Android Studio 0.4.3 - Task 'assemble' not found in root project](https://stackoverflow.com/questions/21364895/android-studio-0-4-3-task-assemble-not-found-in-root-project) – Martin Zeitler Nov 16 '18 at 04:04
  • 1
    i tried the solution to that problem without resolve –  Nov 16 '18 at 04:06
  • I also tried task assemble{} and the project builds, but the choice to "Run" is not able to be used. –  Nov 16 '18 at 04:22
  • post your `build.gradle` and `app/build.gradle` – shizhen Nov 16 '18 at 06:19
  • @kimkarsh575 there might be two `*.iml` files. – Martin Zeitler Nov 16 '18 at 08:45
  • It seems a simple problem. 1. Make a new project in Android Studio. 2. Copy and Paste the `manifest.xml`, `java files` and `res` into the correct places.(If you have other files, place them correctly too. I might help you out if I can do remote control with team viewer. This kind of errors occurs whenever you use open-source project files. – c-an Nov 18 '18 at 09:49
  • These files are python. –  Nov 19 '18 at 06:20
  • what needs to be done to this project so that i'll be able to run it on my mobile android device? –  Nov 19 '18 at 12:45

0 Answers0