Somebody can give me a step by step tutorial about how can I use google play services in a maven project?
I've added two dependencies
<dependency>
<groupId>com.google.android.gms</groupId>
<artifactId>google-play-services</artifactId>
<version>4</version>
<type>apklib</type>
</dependency>
<dependency>
<groupId>com.google.android.gms</groupId>
<artifactId>google-play-services</artifactId>
<version>4</version>
<type>jar</type>
</dependency>
The apklib and jar appear in maven repository but the com.google.android.gms.R class is not generated.
I receive NoClassDefFoundError. How can I put the com.google.android.gms in the gen folder?
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…