Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

Android Build a Simple Android App (2014) Basic Android Programming Adding the onClick() Method

Emulator Problems

I did not list all the errors...Not sure what I need to change to enable me to run this project... (settings) Nexus 5.0.2 API-21 -- Building Tools 23.0.2

**Build Gradle (tab) apply plugin: 'com.android.application'

android { compileSdkVersion 23 buildToolsVersion '23.0.2'

defaultConfig {
    applicationId "com.metreehouse.funfacts"
    minSdkVersion 15
    targetSdkVersion 23
    versionCode 1
    versionName "1.0"
}
buildTypes {
    release {
        minifyEnabled false
        proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
    }
}

}

dependencies { compile fileTree(dir: 'libs', include: ['*.jar']) testCompile 'junit:junit:4.12' compile 'com.android.support:appcompat-v7:23.1.1' compile 'com.android.support:design:23.1.1'

Android Monitor (logcat) (1)..12-06 20:17:19.954 54-54/? E/SurfaceFlinger: hwcomposer module not found (2)..12-06 20:17:22.214 54-92/? E/SurfaceFlinger: ro.sf.lcd_density must be defined as a build property (3)..12-06 20:17:27.730 68-68/? E/memtrack: Couldn't load memtrack module (No such file or directory) 12-06 20:17:27.730 68-68/? E/android.os.Debug: failed to load memtrack module: -2 (4)..12-06 20:17:28.091 65-163/? E/AudioFlinger: no wake lock to update! 12-06 20:17:28.111 65-65/? E/audio_hw_generic: Error opening input stream format 1, channel_mask 0010, sample_rate 16000 (5)..12-06 20:17:28.119 65-65/? E/AudioFlinger: int android::load_audio_interface(const char*, audio_hw_device_t**) couldn't load audio hw module audio.r_submix (No s (6)..12-06 20:17:28.125 65-65/? E/SoundTriggerHwService: couldn't load sound trigger module sound_trigger.primary (No such file or directory) (7)..12-06 20:17:31.490 68-68/? E/Minikin: addFont failed to create font /system/fonts/NotoSansGujarati-Regular.ttf 12-06 20:17:31.493 68-68/? E/Minikin: addFont failed to create font /system/fonts/NotoSansGujarati-Bold.ttf 12-06 20:17:31.494 68-68/? E/Minikin: addFont failed to create font /system/fonts/NotoSansGujaratiUI-Regular.ttf 12-06 20:17:31.494 68-68/? E/Minikin: addFont failed to create font /system/fonts/NotoSansGujaratiUI-Bold.ttf 12-06 20:17:31.494 68-68/? E/Minikin: addFont failed to create font /system/fonts/NotoSansGurmukhi-Regular.ttf 12-06 20:17:31.495 68-68/? E/Minikin: addFont failed to create font /system/fonts/NotoSansGurmukhi-Bold.ttf 12-06 20:17:31.495 68-68/? E/Minikin: addFont failed to create font /system/fonts/NotoSansGurmukhiUI-Regular.ttf 12-06 20:17:31.495 68-68/? E/Minikin: addFont failed to create font /system/fonts/NotoSansGurmukhiUI-Bold.ttf 12-06 20:17:31.634 68-68/? E/Minikin: addFont failed to create font /system/fonts/NotoSansSinhala-Regular.ttf 12-06 20:17:31.634 68-68/? E/Minikin: addFont failed to create font /system/fonts/NotoSansSinhala-Bold.ttf 12-06 20:17:31.696 68-68/? E/Minikin: addFont failed to create font /system/fonts/NotoSansCherokee-Regular.ttf 12-06 20:17:31.711 68-68/? E/Minikin: addFont failed to create font /system/fonts/NotoSansCanadianAboriginal-Regular.ttf 12-06 20:17:31.711 68-68/? E/Minikin: addFont failed to create font /system/fonts/NotoSansYi-Regular.ttf 12-06 20:17:31.712 68-68/? E/Minikin: addFont failed to create font /system/fonts/NotoSansHans-Regular.otf 12-06 20:17:31.712 68-68/? E/Minikin: addFont failed to create font /system/fonts/NotoSansHant-Regular.otf 12-06 20:17:31.712 68-68/? E/Minikin: addFont failed to create font /system/fonts/NotoSansJP-Regular.otf 12-06 20:17:31.713 68-68/? E/Minikin: addFont failed to create font /system/fonts/NotoSansKR-Regular.otf