Skip to main content

How to start with Android development [DSP2017 #07]

In this part I want to show how I started with a first app.
My previous experience with creating an Android application was about 4-5 years ago. I've created one or two simple applications during my studies and forgot about this topic.

Today when I wanted to create a new app I needed to start from beginning. First of all I need to install tools:
If you have installed all above tools you should be able to create simple Android project and run it on your phone.

Yes, like always I met few problems with run the application on my phone.

#1 The adb can not find my device.
Solution: turn phone as MTP mode.

2#
Error:Execution failed for task ':app:processDebugResources'.
> com.android.ide.common.process.ProcessException: Failed to execute aapt


Solution: set  buildToolsVersion "25.0.3" in app/build.gradle  

After resolving each problems I started with developing simple application.

As a next step I used official tutorial. For beginners it should be fine.

Thanks for reading :)

Comments

Popular posts from this blog

Oracle Certified Associate Java SE 8 Programmer I: Exam 1Z0-808 [DSP2017 #05]

  Hello and sorry for absence during last weeks. This time was very busy because I had to prepare myself for OCA certification. In this post I want to write few word about: what I've done how it looks what I will improve next time  I've read one book from beginning to the end. It was   OCA Java SE 8 Programmer I Certification Guide MALA GUPTA   I think that it is good book for gain knowledge about base java. There is a lot of examples, very detail description. Form point of exam just reading and making the tests is not enough. The test inside this book are not so easy but they don't cover real exam. Next books which were only source of mock tests: OCA / OCP Java SE 8 Programmer Practice Tests OCA: Oracle Certified Associate Java SE 8 Programmer I Study Guide: Exam 1Z0-808   The mocks in the first position are very easy and so short. In real exam the examples of code was so longer and requires more concentration. During the preparation I was...

Nany - opis projektu [DSP2017 #03]

" Nany " Wymagania: Użytkownik może podłączyć/odłączyć się do detektora wysyłającego powiadomienia. Użytkownik musi zostać poinformowany o dochodzącym dźwięku z pokoju dziecka. Powiadomienia powinny zostać wysłane do wszystkich zarejestrowanych urządzeń. Użytkownik musi zareagować na powiadomienie. Schemat:   Pierwszy etap prac (13.03.2017): [Telefon*] Prosta aplikacja android umożliwiająca odbieranie powiadomień. [Detektor*] Obsługa detekcji dźwięku. *Telefon - urządzenie z systemem android. *Detektor - Raspberry Pi B  wraz z mikrofonem.