Start to work with Flutter

138 views
Skip to first unread message

Mario Jaramillo

unread,
Sep 11, 2018, 10:01:06 AM9/11/18
to flutt...@googlegroups.com
Greetings:

I am working with Linux Ubuntu, AndroidStudio 3.2and the Last version of IntellijIDEA.

I like to begin working with Flutter and Dart, but running  an example on flutter.io web site using AndroidStudio ever show me the following error:

Launching lib/main.dart on Android SDK built for x86 in debug mode...
Initializing gradle...
Finished with error: Exit code 1 from: /home/mario/AndroidStudioProjects/app_flutter/android/gradlew -v:

Error: no se ha encontrado o cargado la clase principal java.se.ee

The same error appears when I do the same   with IntelliJ IDEA.

Please send me information about how to solve this problem .

Thanks in advance 

Mario


Nikolai Simonov

unread,
Sep 11, 2018, 10:08:08 AM9/11/18
to Mario Jaramillo, Flutter Dev
Did you use oracle's jdk?

$ javac -version ?

вт, 11 сент. 2018 г., 17:01 Mario Jaramillo <mari...@gmail.com>:
--
You received this message because you are subscribed to the Google Groups "Flutter Dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to flutter-dev...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Mario Jaramillo

unread,
Sep 11, 2018, 2:45:13 PM9/11/18
to nickolay...@gmail.com, flutt...@googlegroups.com
No, why?

Wojciech S. Czarnecki

unread,
Sep 11, 2018, 4:40:48 PM9/11/18
to flutt...@googlegroups.com
On Tue, 11 Sep 2018 09:00:52 -0500
Mario Jaramillo <mari...@gmail.com> wrote:

> I am working with Linux Ubuntu, AndroidStudio 3.2and the Last version of
> IntellijIDEA.
You need to export JAVA_HOME and ANDROID_HOME

Usually as lines at end of your ~/.bashrc

export ANDROID_HOME=/path/to/Android/Sdk
export JAVA_HOME=/path/to/Android/android-studio/jre

https://medium.com/@rafael_toledo/preparing-your-android-environment-for-development-android-tutorials-pt-1-5f76ca2b8a32

--
Wojciech S. Czarnecki
<< ^oo^ >> OHIR-RIPE
Reply all
Reply to author
Forward
0 new messages