Skip to content

Instantly share code, notes, and snippets.

View suarezjulian's full-sized avatar

Julián Suárez suarezjulian

View GitHub Profile
Sampling process 30093 for 3 seconds with 1 millisecond of run time between samples
Sampling completed, processing symbols...
Analysis of sampling studio (pid 30093) every 1 millisecond
Process: studio [30093]
Path: /Applications/Android Studio.app/Contents/MacOS/studio
Load Address: 0x108408000
Identifier: com.google.android.studio
Version: 2.3 (AI-162.4069837)
Code Type: X86-64
Parent Process: ??? [1]
@suarezjulian
suarezjulian / AndroidStudioHangs.txt
Created September 8, 2017 14:18
Android Studio Hangs macOS Sierra
This file has been truncated, but you can view the full file.
Date/Time: 2017-09-08 09:15:10 -0500
OS Version: Mac OS X 10.12.6 (Build 16G29)
Architecture: x86_64h
Report Version: 25
Data Source: Stackshots
Command: studio
Path: /Applications/Android Studio 3.0 Preview.app/Contents/MacOS/studio
Version: EAP AI-171.4304935 (AI-171.4304935)
<?xml version="1.0" encoding="UTF-8"?>
<issues format="4" by="lint 24.3">
<issue
id="NewApi"
severity="Error"
message="Call requires API level 16 (current min is 14): `android.view.ViewTreeObserver#removeOnGlobalLayoutListener`"
category="Correctness"
priority="6"
summary="Calling new methods on older versions"
def toCamelCase(String string) {
String result = ""
string.findAll("[^\\W]+") { String word ->
result += word.capitalize()
}
return result
}
afterEvaluate { project ->
Configuration runtimeConfiguration = project.configurations.getByName('compile')
def toCamelCase(String string) {
String result = ""
string.findAll("[^\\W]+") { String word ->
result += word.capitalize()
}
return result
}
afterEvaluate { project ->
Configuration runtimeConfiguration = project.configurations.getByName('compile')
// Top-level build file where you can add configuration options common to all sub-projects/modules.
buildscript {
repositories {
mavenCentral()
}
dependencies {
classpath 'com.android.tools.build:gradle:0.5.+'
}
}