1. Are you ready for the Galaxy S20? Here is everything we know so far!

Problem with first "app"!

Discussion in 'Android Development' started by karo mesquita, May 30, 2017.

  1. karo mesquita

    karo mesquita Lurker
    Thread Starter

    I'm new at Android and I've tried execute a "hello world" code but I cannot compiler that, because show that Error and i couldn't see the solution.




    Error:Failed to complete Gradle execution.

    Cause:
    Unable to start the daemon process.
    This problem might be caused by incorrect configuration of the daemon.
    For example, an unrecognized jvm option is used.
    Please refer to the user guide chapter on the daemon at https://docs.gradle.org/3.3/userguide/gradle_daemon.html
    Please read the following process output to find out more:
    -----------------------
    OpenJDK 64-Bit Server VM warning: Insufficient space for shared memory file:
    4095
    Try using the -Djava.io.tmpdir= option to select an alternate temp location.
     



    1. Download the Forums for Android™ app!


      Download

       
  2. wseng92

    wseng92 Android Enthusiast

    Please post your dependencies
     
  3. karo mesquita

    karo mesquita Lurker
    Thread Starter

    package com.lapada.myfirstproject;

    import android.support.v7.app.AppCompatActivity;


    public class MainActivity extends AppCompatActivity {


    System.out.println("hello Pio");

    }

    Sorry!
     
  4. Deleted User

    Deleted User Guest

    That does not compile.
    You need to start by learning the fundamentals of writing Java code.
     
  5. Deleted User

    Deleted User Guest

    You need at least one method definition in your class.
     
    sweetndreemy73 likes this.
Loading...

Share This Page

Loading...