• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Apps Problem with first "app"!

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.
 
package com.lapada.myfirstproject;

import android.support.v7.app.AppCompatActivity;


public class MainActivity extends AppCompatActivity {


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

}

Sorry!
 
That does not compile.
You need to start by learning the fundamentals of writing Java code.
 
Back
Top Bottom