Problems in intial setup and config

classic Classic list List threaded Threaded
9 messages Options
Reply | Threaded
Open this post in threaded view
|

Problems in intial setup and config

naveenjafer
Hello everybody, I am new to the envirocar project and I am just trying to get started to see if there is any contribution that I could make to the project. The gradle build for enviro-car app seems to be failing and I am unable to fix the issue. I have jdk 8 installed. It would be great if someone could give me some initial pointers on what could be causing this build failure.
This is the error that I get:

/home/naveen/enviroCar-app-master/org.envirocar.app/src/org/envirocar/app/injection/InjectionApplicationModule.java:52: error: cannot find symbol
import org.envirocar.app.view.SettingsFragment;
                             ^
  symbol:   class SettingsFragment
  location: package org.envirocar.app.view
/home/naveen/enviroCar-app-master/org.envirocar.app/src/org/envirocar/app/injection/InjectionApplicationModule.java:108: error: cannot find symbol
                SettingsFragment.class,
                ^
  symbol: class SettingsFragment
error: Could not find types required by provides methods for [org.envirocar.app.injection.InjectionApplicationModule]
3 errors

 FAILED
:org.envirocar.app:compileRetrolambdaDebug UP-TO-DATE

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':org.envirocar.app:compileDebugJavaWithJavac'.
> Compilation failed; see the compiler error output for details.

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.

Reply | Threaded
Open this post in threaded view
|

Re: Problems in intial setup and config

naveenjafer
Where is this class"SettingsFragment"? it seems to be missing from the project.

C:\enviroCar-app-master\org.envirocar.app\src\org\envirocar\app\injection\InjectionApplicationModule.java Error:(52, 30) error: cannot find symbol class SettingsFragment Error:(108, 17) error: cannot find symbol class SettingsFragment Error:Could not find types required by provides methods for [org.envirocar.app.injection.InjectionApplicationModule] Error:Execution failed for task ':org.envirocar.app:compileDebugJavaWithJavac'. > Compilation failed; see the compiler error output for details. :org.envirocar.app:compileRetrolambdaDebug
Reply | Threaded
Open this post in threaded view
|

Re: Fwd: Problems in intial setup and config

Arne de Wall
Hi,

many thanks for your interest in enviroCar and for pointing out that error. We already had fixed this bug in the develop branch, but we missed to merge the changes to master branch. The SettingsFragment is an artificat from older times and has been replaced by the more sophisticated SettingsActivity.java. I have updated the master branch accordingly. So you can now pull the changes from it.

If you have any further questions or problems, please don't hesitate to contact us again.

With best regards,
Arne de Wall

From: naveenjafer <[hidden email]>
Date: 2015-12-17 9:14 GMT+01:00
Subject: Re: [enviroCar-discuss] Problems in intial setup and config
To: [hidden email]


Where is this class"SettingsFragment"? it seems to be missing from the
project.

*C:\enviroCar-app-master\org.envirocar.app\src\org\envirocar\app\injection\InjectionApplicationModule.java
Error:(52, 30) error: cannot find symbol class SettingsFragment Error:(108,
17) error: cannot find symbol class SettingsFragment Error:Could not find
types required by provides methods for
[org.envirocar.app.injection.InjectionApplicationModule] Error:Execution
failed for task ':org.envirocar.app:compileDebugJavaWithJavac'. >
Compilation failed; see the compiler error output for details.
:org.envirocar.app:compileRetrolambdaDebug*



--
View this message in context: http://envirocar-discuss.forum.52north.org/Problems-in-intial-setup-and-config-tp74p75.html
Sent from the 52°North - Envirocar Discussion Forum mailing list archive at Nabble.com.
_______________________________________________
enviroCar-discuss mailing list
[hidden email]
http://list.52north.org/mailman/listinfo/envirocar-discuss
Please respect our mailing list guidelines:
http://52north.org/resources/mailing-lists-and-forums/guidelines



_______________________________________________
enviroCar-discuss mailing list
[hidden email]
http://list.52north.org/mailman/listinfo/envirocar-discuss
Please respect our mailing list guidelines:
http://52north.org/resources/mailing-lists-and-forums/guidelines
Reply | Threaded
Open this post in threaded view
|

RE: Problems in intial setup and config

naveenjafer
The Build fails in android studio for windows with the error in the Gradle Build
 Error:Execution failed for task ':org.envirocar.app:compileRetrolambdaDebug'.
> A problem occurred starting process 'command 'C:\Program Files\Java\jdk1.8.0_65\bin\java.exe''

This is the issue in the gradle sync
Information:The project encoding (windows-1252) has been reset to the encoding specified in the Gradle build files (UTF-8).
Mismatching encodings can lead to serious bugs.
<a href="http://tools.android.com/knownissues/encoding">More Info...</a>

I have attached the entire gradle console with this mail

The project structure is also targeted at JDK 1_8 as mentioned in the gradle.build.  Does this result in problems? A lot of forums suggested that android doesnt work bug free with java 1.8 yet.

Any pointers will be appreciated.

Regards,
Naveen



Date: Thu, 17 Dec 2015 23:25:30 -0800
From: [hidden email]
To: [hidden email]
Subject: Re: Fwd: Problems in intial setup and config

Hi,

many thanks for your interest in enviroCar and for pointing out that error. We already had fixed this bug in the develop branch, but we missed to merge the changes to master branch. The SettingsFragment is an artificat from older times and has been replaced by the more sophisticated SettingsActivity.java. I have updated the master branch accordingly. So you can now pull the changes from it.

If you have any further questions or problems, please don't hesitate to contact us again.

With best regards,
Arne de Wall

From: naveenjafer <[hidden email]>
Date: 2015-12-17 9:14 GMT+01:00
Subject: Re: [enviroCar-discuss] Problems in intial setup and config
To: [hidden email]


Where is this class"SettingsFragment"? it seems to be missing from the
project.

*C:\enviroCar-app-master\org.envirocar.app\src\org\envirocar\app\injection\InjectionApplicationModule.java
Error:(52, 30) error: cannot find symbol class SettingsFragment Error:(108,
17) error: cannot find symbol class SettingsFragment Error:Could not find
types required by provides methods for
[org.envirocar.app.injection.InjectionApplicationModule] Error:Execution
failed for task ':org.envirocar.app:compileDebugJavaWithJavac'. >
Compilation failed; see the compiler error output for details.
:org.envirocar.app:compileRetrolambdaDebug*



--
View this message in context: http://envirocar-discuss.forum.52north.org/Problems-in-intial-setup-and-config-tp74p75.html
Sent from the 52°North - Envirocar Discussion Forum mailing list archive at Nabble.com.
_______________________________________________
enviroCar-discuss mailing list
[hidden email]
http://list.52north.org/mailman/listinfo/envirocar-discuss
Please respect our mailing list guidelines:
http://52north.org/resources/mailing-lists-and-forums/guidelines



_______________________________________________
enviroCar-discuss mailing list
[hidden email]
http://list.52north.org/mailman/listinfo/envirocar-discuss
Please respect our mailing list guidelines:
http://52north.org/resources/mailing-lists-and-forums/guidelines


If you reply to this email, your message will be added to the discussion below:
http://envirocar-discuss.forum.52north.org/Problems-in-intial-setup-and-config-tp74p76.html
To unsubscribe from Problems in intial setup and config, click here.
NAML

gradleoutput.txt (19K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: Fwd: Problems in intial setup and config

MatthesRieke
In reply to this post by Arne de Wall
One small addition from my side: there are probably some errors due to
lint warnings, so please compile without lint for the moment:

gradle clean build -x lint


Once you are familiar with the project, do not hesitate to get in touch
with us, so we can discuss possible contributions! If you need any further
assistance, also just drop a mail :)

Kind regards
Matthes

> Arne de Wall <[hidden email]> hat am 17. Dezember 2015 um 15:41
> geschrieben:
>
>
> Hi,
>
> many thanks for your interest in enviroCar and for pointing out that
> error. We already had fixed this bug in the develop branch, but we
> missed to merge the changes to master branch. The SettingsFragment is an
>
> artificat from older times and has been replaced by the more
> sophisticated SettingsActivity.java. I have updated the master branch
> accordingly. So you can now pull the changes from it.
>
> If you have any further questions or problems, please don't hesitate to
> contact us again.
>
> With best regards,
> Arne de Wall
>
> > From: *naveenjafer* <[hidden email]
> > <mailto:[hidden email]>>
> > Date: 2015-12-17 9:14 GMT+01:00
> > Subject: Re: [enviroCar-discuss] Problems in intial setup and config
> > To: [hidden email]
> > <mailto:[hidden email]>
> >
> >
> > Where is this class"SettingsFragment"? it seems to be missing from the
> > project.
> >
> > *C:\enviroCar-app-master\org.envirocar.app\src\org\envirocar\app\injection\InjectionApplicationModule.java
> > Error:(52, 30) error: cannot find symbol class SettingsFragment
> > Error:(108,
> > 17) error: cannot find symbol class SettingsFragment Error:Could not
> > find
> > types required by provides methods for
> > [org.envirocar.app.injection.InjectionApplicationModule]
> > Error:Execution
> > failed for task ':org.envirocar.app:compileDebugJavaWithJavac'. >
> > Compilation failed; see the compiler error output for details.
> > :org.envirocar.app:compileRetrolambdaDebug*
> >
> >
> >
> > --
> > View this message in context:
> > http://envirocar-discuss.forum.52north.org/Problems-in-intial-setup-and-config-tp74p75.html
> > Sent from the 52°North - Envirocar Discussion Forum mailing list
> > archive at Nabble.com.
> > _______________________________________________
> > enviroCar-discuss mailing list
> > [hidden email] <mailto:[hidden email]>
> > http://list.52north.org/mailman/listinfo/envirocar-discuss
> > Please respect our mailing list guidelines:
> > http://52north.org/resources/mailing-lists-and-forums/guidelines
> >
>
> _______________________________________________
> enviroCar-discuss mailing list
> [hidden email]
> http://list.52north.org/mailman/listinfo/envirocar-discuss
> Please respect our mailing list guidelines:
> http://52north.org/resources/mailing-lists-and-forums/guidelines
_______________________________________________
enviroCar-discuss mailing list
[hidden email]
http://list.52north.org/mailman/listinfo/envirocar-discuss
Please respect our mailing list guidelines:
http://52north.org/resources/mailing-lists-and-forums/guidelines
Reply | Threaded
Open this post in threaded view
|

RE: Problems in intial setup and config

naveenjafer
I initially encountered the same issue, then I had the JAVA_HOME property set to point to the JDK and not the JRE( Have no idea why it was pointing to the jre). Then tried running the command from the terminal inside Android studio after a "Invalidate Caches and restart" still did not work. Now I hit the command directly from my terminal and it seems to be building till around 52 % compared to the earlier 3 % but still throws problems with Javac.

This was the error that kept popping up when running the command from terminal for android studio
 
:android-obd-simulator:compileDebugJavaWithJavac FAILED        
            
FAILURE: Build failed with an exception.
            
* What went wrong:
Execution failed for task ':android-obd-simulator:compileDebugJavaWithJavac'.
> Could not find tools.jar


I have no idea why it is behaving this way :/


Date: Fri, 18 Dec 2015 01:02:27 -0800
From: [hidden email]
To: [hidden email]
Subject: Re: Fwd: Problems in intial setup and config

One small addition from my side: there are probably some errors due to
lint warnings, so please compile without lint for the moment:

gradle clean build -x lint


Once you are familiar with the project, do not hesitate to get in touch
with us, so we can discuss possible contributions! If you need any further
assistance, also just drop a mail :)

Kind regards
Matthes

> Arne de Wall <[hidden email]> hat am 17. Dezember 2015 um 15:41
> geschrieben:
>
>
> Hi,
>
> many thanks for your interest in enviroCar and for pointing out that
> error. We already had fixed this bug in the develop branch, but we
> missed to merge the changes to master branch. The SettingsFragment is an
>
> artificat from older times and has been replaced by the more
> sophisticated SettingsActivity.java. I have updated the master branch
> accordingly. So you can now pull the changes from it.
>
> If you have any further questions or problems, please don't hesitate to
> contact us again.
>
> With best regards,
> Arne de Wall
>
> > From: *naveenjafer* <[hidden email]
> > <mailto:[hidden email]>>
> > Date: 2015-12-17 9:14 GMT+01:00
> > Subject: Re: [enviroCar-discuss] Problems in intial setup and config
> > To: [hidden email]
> > <mailto:[hidden email]>
> >
> >
> > Where is this class"SettingsFragment"? it seems to be missing from the
> > project.
> >
> > *C:\enviroCar-app-master\org.envirocar.app\src\org\envirocar\app\injection\InjectionApplicationModule.java
> > Error:(52, 30) error: cannot find symbol class SettingsFragment
> > Error:(108,
> > 17) error: cannot find symbol class SettingsFragment Error:Could not
> > find
> > types required by provides methods for
> > [org.envirocar.app.injection.InjectionApplicationModule]
> > Error:Execution
> > failed for task ':org.envirocar.app:compileDebugJavaWithJavac'. >
> > Compilation failed; see the compiler error output for details.
> > :org.envirocar.app:compileRetrolambdaDebug*
> >
> >
> >
> > --
> > View this message in context:
> > http://envirocar-discuss.forum.52north.org/Problems-in-intial-setup-and-config-tp74p75.html
> > Sent from the 52°North - Envirocar Discussion Forum mailing list
> > archive at Nabble.com.
> > _______________________________________________
> > enviroCar-discuss mailing list
> > [hidden email] <mailto:[hidden email]>
> > http://list.52north.org/mailman/listinfo/envirocar-discuss
> > Please respect our mailing list guidelines:
> > http://52north.org/resources/mailing-lists-and-forums/guidelines
> >
>
> _______________________________________________
> enviroCar-discuss mailing list
> [hidden email]
> http://list.52north.org/mailman/listinfo/envirocar-discuss
> Please respect our mailing list guidelines:
> http://52north.org/resources/mailing-lists-and-forums/guidelines
_______________________________________________
enviroCar-discuss mailing list
[hidden email]
http://list.52north.org/mailman/listinfo/envirocar-discuss
Please respect our mailing list guidelines:
http://52north.org/resources/mailing-lists-and-forums/guidelines


If you reply to this email, your message will be added to the discussion below:
http://envirocar-discuss.forum.52north.org/Problems-in-intial-setup-and-config-tp74p78.html
To unsubscribe from Problems in intial setup and config, click here.
NAML

Capture.PNG (188K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

RE: Problems in intial setup and config

naveenjafer
In reply to this post by MatthesRieke
Hi,
        What exactly is this "extractDebugAnnotations" is incompatible with java 8 sources and has been disabled? The complete log of the latest build attempt inside android studio is attached.

Regards,
naveen


From: [hidden email]
To: [hidden email]
Subject: RE: Problems in intial setup and config
Date: Fri, 18 Dec 2015 15:28:44 +0530

I initially encountered the same issue, then I had the JAVA_HOME property set to point to the JDK and not the JRE( Have no idea why it was pointing to the jre). Then tried running the command from the terminal inside Android studio after a "Invalidate Caches and restart" still did not work. Now I hit the command directly from my terminal and it seems to be building till around 52 % compared to the earlier 3 % but still throws problems with Javac.

This was the error that kept popping up when running the command from terminal for android studio
 
:android-obd-simulator:compileDebugJavaWithJavac FAILED        
            
FAILURE: Build failed with an exception.
            
* What went wrong:
Execution failed for task ':android-obd-simulator:compileDebugJavaWithJavac'.
> Could not find tools.jar


I have no idea why it is behaving this way :/


Date: Fri, 18 Dec 2015 01:02:27 -0800
From: [hidden email]
To: [hidden email]
Subject: Re: Fwd: Problems in intial setup and config

One small addition from my side: there are probably some errors due to
lint warnings, so please compile without lint for the moment:

gradle clean build -x lint


Once you are familiar with the project, do not hesitate to get in touch
with us, so we can discuss possible contributions! If you need any further
assistance, also just drop a mail :)

Kind regards
Matthes

> Arne de Wall <[hidden email]> hat am 17. Dezember 2015 um 15:41
> geschrieben:
>
>
> Hi,
>
> many thanks for your interest in enviroCar and for pointing out that
> error. We already had fixed this bug in the develop branch, but we
> missed to merge the changes to master branch. The SettingsFragment is an
>
> artificat from older times and has been replaced by the more
> sophisticated SettingsActivity.java. I have updated the master branch
> accordingly. So you can now pull the changes from it.
>
> If you have any further questions or problems, please don't hesitate to
> contact us again.
>
> With best regards,
> Arne de Wall
>
> > From: *naveenjafer* <[hidden email]
> > <mailto:[hidden email]>>
> > Date: 2015-12-17 9:14 GMT+01:00
> > Subject: Re: [enviroCar-discuss] Problems in intial setup and config
> > To: [hidden email]
> > <mailto:[hidden email]>
> >
> >
> > Where is this class"SettingsFragment"? it seems to be missing from the
> > project.
> >
> > *C:\enviroCar-app-master\org.envirocar.app\src\org\envirocar\app\injection\InjectionApplicationModule.java
> > Error:(52, 30) error: cannot find symbol class SettingsFragment
> > Error:(108,
> > 17) error: cannot find symbol class SettingsFragment Error:Could not
> > find
> > types required by provides methods for
> > [org.envirocar.app.injection.InjectionApplicationModule]
> > Error:Execution
> > failed for task ':org.envirocar.app:compileDebugJavaWithJavac'. >
> > Compilation failed; see the compiler error output for details.
> > :org.envirocar.app:compileRetrolambdaDebug*
> >
> >
> >
> > --
> > View this message in context:
> > http://envirocar-discuss.forum.52north.org/Problems-in-intial-setup-and-config-tp74p75.html
> > Sent from the 52°North - Envirocar Discussion Forum mailing list
> > archive at Nabble.com.
> > _______________________________________________
> > enviroCar-discuss mailing list
> > [hidden email] <mailto:[hidden email]>
> > http://list.52north.org/mailman/listinfo/envirocar-discuss
> > Please respect our mailing list guidelines:
> > http://52north.org/resources/mailing-lists-and-forums/guidelines
> >
>
> _______________________________________________
> enviroCar-discuss mailing list
> [hidden email]
> http://list.52north.org/mailman/listinfo/envirocar-discuss
> Please respect our mailing list guidelines:
> http://52north.org/resources/mailing-lists-and-forums/guidelines
_______________________________________________
enviroCar-discuss mailing list
[hidden email]
http://list.52north.org/mailman/listinfo/envirocar-discuss
Please respect our mailing list guidelines:
http://52north.org/resources/mailing-lists-and-forums/guidelines


If you reply to this email, your message will be added to the discussion below:
http://envirocar-discuss.forum.52north.org/Problems-in-intial-setup-and-config-tp74p78.html
To unsubscribe from Problems in intial setup and config, click here.
NAML

latest error.txt (3K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: Problems in intial setup and config

Arne de Wall
Hi naveen,

which version of Android Studio are you using? We figured out some
issues with Android Studio with version >1.5.x, which we do not have
fixed yet. Especially build errors that result into
"NoClassDefFoundError with
android.support.design.internal.NavigationView" and similar errors
belong to the problems we have. If you find any solution for this, feel
free to find a solution :) We simply hat not the time to tackle this
problem, but we will consider it in the near future. Instead of 1.5.x,
you could try to use the previous version (v. 1.4.1) of Android Studio.

Kind regards,
Arne

Am 12/18/2015 um 10:52 AM schrieb naveenjafer:

> Hi,
>          What exactly is this "extractDebugAnnotations" is incompatible with java 8 sources and has been disabled? The complete log of the latest build attempt inside android studio is attached.
>
> Regards,
> naveen
>
> From: [hidden email]
> To: [hidden email]
> Subject: RE: Problems in intial setup and config
> Date: Fri, 18 Dec 2015 15:28:44 +0530
>
>
>
>
> I initially encountered the same issue, then I had the JAVA_HOME property set to point to the JDK and not the JRE( Have no idea why it was pointing to the jre). Then tried running the command from the terminal inside Android studio after a "Invalidate Caches and restart" still did not work. Now I hit the command directly from my terminal and it seems to be building till around 52 % compared to the earlier 3 % but still throws problems with Javac.
>
> This was the error that kept popping up when running the command from terminal for android studio
>  
> :android-obd-simulator:compileDebugJavaWithJavac FAILED
>              
> FAILURE: Build failed with an exception.
>              
> * What went wrong:
> Execution failed for task ':android-obd-simulator:compileDebugJavaWithJavac'.
>> Could not find tools.jar
> I have no idea why it is behaving this way :/
>
> Date: Fri, 18 Dec 2015 01:02:27 -0800
> From: [hidden email]
> To: [hidden email]
> Subject: Re: Fwd: Problems in intial setup and config
>
>
>
> One small addition from my side: there are probably some errors due to
>
> lint warnings, so please compile without lint for the moment:
>
>
> gradle clean build -x lint
>
>
>
> Once you are familiar with the project, do not hesitate to get in touch
>
> with us, so we can discuss possible contributions! If you need any further
>
> assistance, also just drop a mail :)
>
>
> Kind regards
>
> Matthes
>
>
>> Arne de Wall <[hidden email]> hat am 17. Dezember 2015 um 15:41
>> geschrieben:
>> Hi,
>> many thanks for your interest in enviroCar and for pointing out that
>> error. We already had fixed this bug in the develop branch, but we
>> missed to merge the changes to master branch. The SettingsFragment is an
>> artificat from older times and has been replaced by the more
>> sophisticated SettingsActivity.java. I have updated the master branch
>> accordingly. So you can now pull the changes from it.
>> If you have any further questions or problems, please don't hesitate to
>> contact us again.
>> With best regards,
>> Arne de Wall
>>> From: *naveenjafer* <[hidden email]
>>> <mailto:[hidden email]>>
>>> Date: 2015-12-17 9:14 GMT+01:00
>>> Subject: Re: [enviroCar-discuss] Problems in intial setup and config
>>> To: [hidden email]
>>> <mailto:[hidden email]>
>>> Where is this class"SettingsFragment"? it seems to be missing from the
>>> project.
>>> *C:\enviroCar-app-master\org.envirocar.app\src\org\envirocar\app\injection\InjectionApplicationModule.java
>>> Error:(52, 30) error: cannot find symbol class SettingsFragment
>>> Error:(108,
>>> 17) error: cannot find symbol class SettingsFragment Error:Could not
>>> find
>>> types required by provides methods for
>>> [org.envirocar.app.injection.InjectionApplicationModule]
>>> Error:Execution
>>> failed for task ':org.envirocar.app:compileDebugJavaWithJavac'. >
>>> Compilation failed; see the compiler error output for details.
>>> :org.envirocar.app:compileRetrolambdaDebug*
>>> --
>>> View this message in context:
>>> http://envirocar-discuss.forum.52north.org/Problems-in-intial-setup-and-config-tp74p75.html
>>> Sent from the 52°North - Envirocar Discussion Forum mailing list
>>> archive at Nabble.com.
>>> _______________________________________________
>>> enviroCar-discuss mailing list
>>> [hidden email] <mailto:[hidden email]>
>>> http://list.52north.org/mailman/listinfo/envirocar-discuss
>>> Please respect our mailing list guidelines:
>>> http://52north.org/resources/mailing-lists-and-forums/guidelines
>>>
>> _______________________________________________
>> enviroCar-discuss mailing list
>> [hidden email]
>> http://list.52north.org/mailman/listinfo/envirocar-discuss
>> Please respect our mailing list guidelines:
>> http://52north.org/resources/mailing-lists-and-forums/guidelines_______________________________________________
> enviroCar-discuss mailing list
>
> [hidden email]
>
> http://list.52north.org/mailman/listinfo/envirocar-discuss
> Please respect our mailing list guidelines:
>
> http://52north.org/resources/mailing-lists-and-forums/guidelines
>
>
>
>
>
>
>
>
>
>
> If you reply to this email, your message will be added to the discussion below:
> http://envirocar-discuss.forum.52north.org/Problems-in-intial-setup-and-config-tp74p78.html
>
>
>
> To unsubscribe from Problems in intial setup and config, click here.
>
> NAML
>      
>
> latest error.txt (3K) <http://envirocar-discuss.forum.52north.org/attachment/80/0/latest%20error.txt>
>
>
>
>
> --
> View this message in context: http://envirocar-discuss.forum.52north.org/Problems-in-intial-setup-and-config-tp74p80.html
> Sent from the 52°North - Envirocar Discussion Forum mailing list archive at Nabble.com.
> _______________________________________________
> enviroCar-discuss mailing list
> [hidden email]
> http://list.52north.org/mailman/listinfo/envirocar-discuss
> Please respect our mailing list guidelines:
> http://52north.org/resources/mailing-lists-and-forums/guidelines

_______________________________________________
enviroCar-discuss mailing list
[hidden email]
http://list.52north.org/mailman/listinfo/envirocar-discuss
Please respect our mailing list guidelines:
http://52north.org/resources/mailing-lists-and-forums/guidelines
Reply | Threaded
Open this post in threaded view
|

RE: Problems in intial setup and config

naveenjafer
Hi Arne,
               I tried building the "Develop" branch and it gave me a different issue
/home/naveen/enviro/enviroCar-app-develop/org.envirocar.app/src/org/envirocar/app/handler/UploadManager.java:32: error: cannot find symbol
import org.envirocar.app.TrackHandler;
                        ^
  symbol:   class TrackHandler
  location: package org.envirocar.app
1 error

 FAILED
:org.envirocar.app:compileRetrolambdaDebug

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':org.envirocar.app:compileDebugJavaWithJavac'.
> Compilation failed; see the compiler error output for details.

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.

BUILD FAILED

Total time: 59.655 secs

is a project file missing in this version by any chance? I will keep you posted if I manage to fix the earlier issue. I tried it out in both WIndows and Linux but no luck the same old 37 errors

Regards,
Naveen







Date: Fri, 18 Dec 2015 03:44:13 -0800
From: [hidden email]
To: [hidden email]
Subject: Re: Problems in intial setup and config

Hi naveen,

which version of Android Studio are you using? We figured out some
issues with Android Studio with version >1.5.x, which we do not have
fixed yet. Especially build errors that result into
"NoClassDefFoundError with
android.support.design.internal.NavigationView" and similar errors
belong to the problems we have. If you find any solution for this, feel
free to find a solution :) We simply hat not the time to tackle this
problem, but we will consider it in the near future. Instead of 1.5.x,
you could try to use the previous version (v. 1.4.1) of Android Studio.

Kind regards,
Arne

Am 12/18/2015 um 10:52 AM schrieb naveenjafer:

> Hi,
>          What exactly is this "extractDebugAnnotations" is incompatible with java 8 sources and has been disabled? The complete log of the latest build attempt inside android studio is attached.
>
> Regards,
> naveen
>
> From: [hidden email]
> To: [hidden email]
> Subject: RE: Problems in intial setup and config
> Date: Fri, 18 Dec 2015 15:28:44 +0530
>
>
>
>
> I initially encountered the same issue, then I had the JAVA_HOME property set to point to the JDK and not the JRE( Have no idea why it was pointing to the jre). Then tried running the command from the terminal inside Android studio after a "Invalidate Caches and restart" still did not work. Now I hit the command directly from my terminal and it seems to be building till around 52 % compared to the earlier 3 % but still throws problems with Javac.
>
> This was the error that kept popping up when running the command from terminal for android studio
>  
> :android-obd-simulator:compileDebugJavaWithJavac FAILED
>              
> FAILURE: Build failed with an exception.
>              
> * What went wrong:
> Execution failed for task ':android-obd-simulator:compileDebugJavaWithJavac'.
>> Could not find tools.jar
> I have no idea why it is behaving this way :/
>
> Date: Fri, 18 Dec 2015 01:02:27 -0800
> From: [hidden email]
> To: [hidden email]
> Subject: Re: Fwd: Problems in intial setup and config
>
>
>
> One small addition from my side: there are probably some errors due to
>
> lint warnings, so please compile without lint for the moment:
>
>
> gradle clean build -x lint
>
>
>
> Once you are familiar with the project, do not hesitate to get in touch
>
> with us, so we can discuss possible contributions! If you need any further
>
> assistance, also just drop a mail :)
>
>
> Kind regards
>
> Matthes
>
>
>> Arne de Wall <[hidden email]> hat am 17. Dezember 2015 um 15:41
>> geschrieben:
>> Hi,
>> many thanks for your interest in enviroCar and for pointing out that
>> error. We already had fixed this bug in the develop branch, but we
>> missed to merge the changes to master branch. The SettingsFragment is an
>> artificat from older times and has been replaced by the more
>> sophisticated SettingsActivity.java. I have updated the master branch
>> accordingly. So you can now pull the changes from it.
>> If you have any further questions or problems, please don't hesitate to
>> contact us again.
>> With best regards,
>> Arne de Wall
>>> From: *naveenjafer* <[hidden email]
>>> <mailto:[hidden email]>>
>>> Date: 2015-12-17 9:14 GMT+01:00
>>> Subject: Re: [enviroCar-discuss] Problems in intial setup and config
>>> To: [hidden email]
>>> <mailto:[hidden email]>
>>> Where is this class"SettingsFragment"? it seems to be missing from the
>>> project.
>>> *C:\enviroCar-app-master\org.envirocar.app\src\org\envirocar\app\injection\InjectionApplicationModule.java
>>> Error:(52, 30) error: cannot find symbol class SettingsFragment
>>> Error:(108,
>>> 17) error: cannot find symbol class SettingsFragment Error:Could not
>>> find
>>> types required by provides methods for
>>> [org.envirocar.app.injection.InjectionApplicationModule]
>>> Error:Execution
>>> failed for task ':org.envirocar.app:compileDebugJavaWithJavac'. >
>>> Compilation failed; see the compiler error output for details.
>>> :org.envirocar.app:compileRetrolambdaDebug*
>>> --
>>> View this message in context:
>>> http://envirocar-discuss.forum.52north.org/Problems-in-intial-setup-and-config-tp74p75.html
>>> Sent from the 52°North - Envirocar Discussion Forum mailing list
>>> archive at Nabble.com.
>>> _______________________________________________
>>> enviroCar-discuss mailing list
>>> [hidden email] <mailto:[hidden email]>
>>> http://list.52north.org/mailman/listinfo/envirocar-discuss
>>> Please respect our mailing list guidelines:
>>> http://52north.org/resources/mailing-lists-and-forums/guidelines
>>>
>> _______________________________________________
>> enviroCar-discuss mailing list
>> [hidden email]
>> http://list.52north.org/mailman/listinfo/envirocar-discuss
>> Please respect our mailing list guidelines:
>> http://52north.org/resources/mailing-lists-and-forums/guidelines_______________________________________________
> enviroCar-discuss mailing list
>
> [hidden email]
>
> http://list.52north.org/mailman/listinfo/envirocar-discuss
> Please respect our mailing list guidelines:
>
> http://52north.org/resources/mailing-lists-and-forums/guidelines
>
>
>
>
>
>
>
>
>
>
> If you reply to this email, your message will be added to the discussion below:
> http://envirocar-discuss.forum.52north.org/Problems-in-intial-setup-and-config-tp74p78.html
>
>
>
> To unsubscribe from Problems in intial setup and config, click here.
>
> NAML
>      
>
> latest error.txt (3K) <http://envirocar-discuss.forum.52north.org/attachment/80/0/latest%20error.txt>
>
>
>
>
> --
> View this message in context: http://envirocar-discuss.forum.52north.org/Problems-in-intial-setup-and-config-tp74p80.html
> Sent from the 52°North - Envirocar Discussion Forum mailing list archive at Nabble.com.
> _______________________________________________
> enviroCar-discuss mailing list
> [hidden email]
> http://list.52north.org/mailman/listinfo/envirocar-discuss
> Please respect our mailing list guidelines:
> http://52north.org/resources/mailing-lists-and-forums/guidelines
_______________________________________________
enviroCar-discuss mailing list
[hidden email]
http://list.52north.org/mailman/listinfo/envirocar-discuss
Please respect our mailing list guidelines:
http://52north.org/resources/mailing-lists-and-forums/guidelines


If you reply to this email, your message will be added to the discussion below:
http://envirocar-discuss.forum.52north.org/Problems-in-intial-setup-and-config-tp74p81.html
To unsubscribe from Problems in intial setup and config, click here.
NAML
.