Profile

Cover photo
Paresh Mayani
3,199 followers|976,130 views
AboutPostsPhotosYouTube

Stream

 
[Interesting observation/issue - Lint reports]

During the discussion with my colleague +Ketan Parmar in the office, we have observed an interesting issue in the Gradle and Android studio

Issue
==================
1) If you run gradle clean build from terminal, it generates lint reports (even if lint options in build.gradle are not configured).

2) If you do clean project and make project in android studio then it's not generating lint reports (even tried after configuring lint options in the build.gradle file).

Observation:
=========================
Observation is if you run the gradle clean build command from terminal, it executes :app:lint as a subtask and hence it's generating lint reports. But the same task is not getting executed when we clean and make project in Android studio.

For more details => https://code.google.com/p/android/issues/detail?id=157030

One more issue has been founded successfully :-)
#AndroidDev  
Android Open Source Project - Issue Tracker
10
3
Ketan Parmar's profile photoJimmy Leonardo's profile photo

Paresh Mayani

Shared publicly  - 
 
I think I have to buy a super computer or a laptop with as much as RAM as HD to work with Android Studio and Gradle!

I have already included a gradle.properties with suggested points:

org.gradle.daemon=true
org.gradle.jvmargs=-Xmx1024m -XX:MaxPermSize=512m -XX:+HeapDumpOnOutOfMemoryError -Dfile.encoding=UTF-8

org.gradle.parallel=true
org.gradle.configureondemand=true

Attached is the proof of the culprits responsible this crime and these 3 are not happy with my system (i5, windows 8.1, 4 GB RAM) and I am all like..#F***Pushing
21
sergej shafarenka's profile photoKiran Rao's profile photoParesh Mayani's profile photoSowmya Guru's profile photo
5 comments
 
I use 4GB ram with Firefox. :-/ (Obviously, not chrome!) and Ubuntu 14.04 for work. Works like a charm. 

Paresh Mayani

Shared publicly  - 
 
Interesting article with good tips for Effective Session Submission.

Via +Romin Irani 
 
Useful tips on submitting conference proposals from Arun Gupta.
This blog will show do's and don'ts for an effective session submission at a conference.
View original post
6

Paresh Mayani

Shared publicly  - 
 
Looks like a library for the lazy Android developer :-)

#ToCheck

Via +Paul Lammertsma
 
Tired of writing the same code over and over again? We made a library you'll like!
http://ow.ly/Jj2ok #100DevTips
View original post
9
3
Gabor Orosz's profile photoVladimir Bjelakovic's profile photo

Paresh Mayani

Shared publicly  - 
 
#androidDev, Interesting JSON library , which focuses on performance 
LoganSquare - Screaming fast JSON parsing and serialization library for Android.
View original post
11
7
Faiz Malkani's profile photomanas shukla's profile photoNayanesh Gupte's profile photoParthiv Shah's profile photo
4 comments
 
+Nayanesh Gupte ha ha ha that's not a bad idea :P
Have him in circles
3,199 people
Nile Hadwards's profile photo
yatendrasinh joddha's profile photo
Zoe Lloyd's profile photo
Dan Romescu's profile photo
Amrit Sanjeev's profile photo
Jd Geier's profile photo
Sandip Patel's profile photo
Krishnamoha Gupta's profile photo
Coulibaly Adama's profile photo

Paresh Mayani

Shared publicly  - 
 
[Part 10 – The Hitchhiker’s guide to Android Testing]

This part in lazy android developers series is completely written by +Wiebe Elsinga and +Ali Derbane, with love towards #AndroidDev  community.

In this part, they have explored about android testing and tools:
1. JUnit
2. Hamcrest
3. Robotium
4. Calabash
5. Espresso
6. Selendroid
7. Robolectric

Thank you Wiebe and Ali for sharing your knowledge with us.

http://www.technotalkative.com/part-10-the-hitchhikers-guide-to-android-testing/
Writing tests gives you a good understanding about the stability, quality and performance of an application. There are multiple android testing tools.
24
25
David Sanders's profile photoScott Olcott's profile photoJulien Banse's profile photoSuhatt Jantorn's profile photo
 
published in androidweekly.net

Paresh Mayani

Shared publicly  - 
 
This is one of the superb initiative taken by +Google Malaysia. Congratulations +Amit Chopra and Kudos to the SEA DevRel team.

Looking forward and I am sure the same initiative will be taken by +Google India DevRel team. CC: +Sunil Rao, +Amrit Sanjeev, +Avik Debnath
 
Are you a professional Android developer? We'd love to see you at the Google Developers Summit KL this March 19.

The summit will be a day long event and speakers are flying in from US, Singapore, Tokyo and Sydney. This event will be geared towards professional Android developers, so you must have a published app on Google Play. 

Topics include: 
- Core Android Development,
- Material Design (including a workshop), 
- Google Play Best Practices, 
- New Android APIs, 
- Google Cloud Platform.

Register here: http://goo.gl/CyImeh 
2 comments on original post
13
 
Facing an issue while creating android wear emulator => The skin directory does not point to a valid skin.

Anyone have faced this issue earlier or any pointer?

https://code.google.com/p/android/issues/detail?id=154644
3
1
Jhon Miller Barrera's profile photo
 
Announcing a new and interesting series on TechnoTalkative.com soon, authored by +Harsh Dattani​, who is exploring the horizon of cyber security. #StayTuned

And two more awesome experts +Wiebe Elsinga​ and +Ali Derbane​ are writing an article for the lazy android developers series. Awesome article is awaited!

Yeah after 4 years, TechnoTalkative, my blog is gone multi-authored :-) #Happy
15
1
Romin Irani's profile photoVladimir Bjelakovic's profile photo
 
Looking forward to high quality articles as always on your blog.

Paresh Mayani

Shared publicly  - 
 
#AndroidDev => [Interesting observation: Gradle + Android Studio]

compile 'com.google.android.gms:play-services-location:+'

If you want to access the APIs and features of google play service, you have to mention the artifact of the google play service in the build.gradle file.

Now, the actual picture comes into the picture, if you haven't downloaded "Google repository" from the 'extras' section in the SDK manager then it won't be able to use the features of google play service library but it gives below error[1] while building the project.

Yes, we assume gradle downloads .pom file of the particular library from the maven central or jcenter repository, but it seems it doesn't download the play service pom file actually!

P.S. I got to know about this when I was trying to build the projects on console in my laptop, which was actually having plain android sdk folder.

[1] Error:

$ gradle clean

FAILURE: Build failed with an exception.

* What went wrong:
A problem occurred configuring project ':app'.
> A problem occurred configuring project ':myExampleLibrary'.
   > Could not resolve all dependencies for configuration ':myExampleLibrary:_debugCompile'.
      > Could not find com.google.android.gms:play-services:6.5.87.
        Searched in the following locations:
            https://jcenter.bintray.com/com/google/android/gms/play-services/6.5.87/play-services-6.5.87.pom             https://jcenter.bintray.com/com/google/android/gms/play-services/6.5.87/play-services-6.5.87.jar             file:/Users/paresh/Downloads/gradle_build_scripts/tools/android-sdk-linux/extras/android/m2repository/com/google/android/gms/play-services/6.5.87/play-services-6.5.87.pom
            file:/Users/paresh/Downloads/gradle_build_scripts/tools/android-sdk-linux/extras/android/m2repository/com/google/android/gms/play-services/6.5.87/play-services-6.5.87.jar
        Required by:
            MyProject:myExampleLibrary:unspecified

* 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: 17.841 secs
8
1
Stefan Hoth's profile photoSaid Tahsin Dane's profile photoParesh Mayani's profile photoGabor Orosz's profile photo
7 comments
 
+Said Tahsin Dane Seriously It should give proper message with action buttons (whether user wants to update or cancel) rather than updating it silently! Otherwise user would not come to know what was the issue exactly.

Paresh Mayani

Shared publicly  - 
 
 
Looks like API level 22 is coming soon
Android Open Source Project - Issue Tracker
View original post
11
People
Have him in circles
3,199 people
Nile Hadwards's profile photo
yatendrasinh joddha's profile photo
Zoe Lloyd's profile photo
Dan Romescu's profile photo
Amrit Sanjeev's profile photo
Jd Geier's profile photo
Sandip Patel's profile photo
Krishnamoha Gupta's profile photo
Coulibaly Adama's profile photo
Work
Occupation
Senior Software Engineer
Skills
Android, Java, WordPress
Story
Tagline
Software Engineer, Lazy Android developer, Founder/Organizer @ Google Developers Group Ahmedabad
Basic Information
Gender
Male