Unable to Build Traccar Client in Android Studio

Phil8 years ago

Hi Anton,

I Checked-out the traccar client from git and it was successful. However I noticed the following:

When I try to build the project - it returns an error that says "Error:(13, -1) android-apt-compiler: [main] C:\Users\User\StudioProjects\traccar-client-android\app\src\main\AndroidManifest.xml:13: error: Error: No resource found that matches the given name (at 'icon' with value '@mipmap/ic_launcher')."

Currently in Android Studio it shows the following folders (Hidden, Main and Test)with no "Regular" folder. The Regular folder however does display in File Explorer. Now I've tried GIT pull to update and it says the project is up to date. I have ran out of option on what to do. Can you please help

Anton Tananaev8 years ago

How did you open the project? It should build without any issues.

As for "regular" build, you should switch to the "regular" flavor (see "Build Variants" window in Android Studio).