{
"id": "121839",
"key": "TIMOB-15615",
"fields": {
"issuetype": {
"id": "1",
"description": "A problem which impairs or prevents the functions of the product.",
"name": "Bug",
"subtask": false
},
"project": {
"id": "10153",
"key": "TIMOB",
"name": "Titanium SDK/CLI",
"projectCategory": {
"id": "10100",
"description": "Titanium and related SDKs used in application development",
"name": "Client"
}
},
"fixVersions": [
{
"id": "15703",
"description": "2013 Sprint 22",
"name": "2013 Sprint 22",
"archived": true,
"released": true,
"releaseDate": "2013-11-01"
},
{
"id": "15705",
"description": "2013 Sprint 22 Core",
"name": "2013 Sprint 22 Core",
"archived": true,
"released": true,
"releaseDate": "2013-11-01"
},
{
"id": "14982",
"description": "Release 3.2.0",
"name": "Release 3.2.0",
"archived": false,
"released": true,
"releaseDate": "2013-12-19"
}
],
"resolution": {
"id": "1",
"description": "A fix for this issue is checked into the tree and tested.",
"name": "Fixed"
},
"resolutiondate": "2013-11-02T00:57:35.000+0000",
"created": "2013-10-30T21:26:16.000+0000",
"priority": {
"name": "High",
"id": "2"
},
"labels": [
"module_androidmapv2",
"qe-3.2.0",
"qe-testadded",
"triage"
],
"versions": [
{
"id": "14982",
"description": "Release 3.2.0",
"name": "Release 3.2.0",
"archived": false,
"released": true,
"releaseDate": "2013-12-19"
}
],
"issuelinks": [],
"assignee": {
"name": "cbarber",
"key": "cbarber",
"displayName": "Chris Barber",
"active": true,
"timeZone": "America/Chicago"
},
"updated": "2014-02-26T19:15:48.000+0000",
"status": {
"description": "The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.",
"name": "Closed",
"id": "6",
"statusCategory": {
"id": 3,
"key": "done",
"colorName": "green",
"name": "Done"
}
},
"components": [
{
"id": "10202",
"name": "Android",
"description": "Android Platform"
}
],
"description": "h5.Description:\r\n1.Use the \"Mapv2module test\" from titanium mobile tests internal/Feature tests/AndroidMapv2\r\n2.Build the app for device.\r\n\r\nh5.Actual Result:\r\n1.We get errors like below:\r\n{code}\r\n[ERROR] TiApplication: (main) [192,192] Sending event: exception on thread: main msg:java.lang.RuntimeException: Unable to start activity ComponentInfo{com.appcelerator.mapmod/org.appcelerator.titanium.TiActivity}: java.lang.RuntimeException: API key not found. Check that is in the element of AndroidManifest.xml; Titanium 3.2.0,2013/10/29 15:04,3bf03a3\r\n[ERROR] TiApplication: java.lang.RuntimeException: Unable to start activity ComponentInfo{com.appcelerator.mapmod/org.appcelerator.titanium.TiActivity}: java.lang.RuntimeException: API key not found. Check that is in the element of AndroidManifest.xml\r\n[ERROR] TiApplication: \tat android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2246)\r\n[ERROR] TiApplication: \tat android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2296)\r\n[ERROR] TiApplication: \tat android.app.ActivityThread.access$700(ActivityThread.java:151)\r\n[ERROR] TiApplication: \tat android.app.ActivityThread$H.handleMessage(ActivityThread.java:1281)\r\n[ERROR] TiApplication: \tat android.os.Handler.dispatchMessage(Handler.java:99)\r\n[ERROR] TiApplication: \tat android.os.Looper.loop(Looper.java:137)\r\n[ERROR] TiApplication: \tat android.app.ActivityThread.main(ActivityThread.java:5293)\r\n[ERROR] TiApplication: \tat java.lang.reflect.Method.invokeNative(Native Method)\r\n[ERROR] TiApplication: \tat java.lang.reflect.Method.invoke(Method.java:511)\r\n[ERROR] TiApplication: \tat com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1102)\r\n[ERROR] TiApplication: \tat com.android.internal.os.ZygoteInit.main(ZygoteInit.java:869)\r\n[ERROR] TiApplication: \tat dalvik.system.NativeStart.main(Native Method)\r\n[ERROR] TiApplication: Caused by: java.lang.RuntimeException: API key not found. Check that is in the element of AndroidManifest.xml\r\n[ERROR] TiApplication: \tat maps.ag.bb.a(Unknown Source)\r\n[ERROR] TiApplication: \tat maps.ag.bb.a(Unknown Source)\r\n[ERROR] TiApplication: \tat maps.ag.an.a(Unknown Source)\r\n[ERROR] TiApplication: \tat maps.ag.bh.a(Unknown Source)\r\n[ERROR] TiApplication: \tat maps.ag.bg.a(Unknown Source)\r\n[ERROR] TiApplication: \tat bob.onTransact(SourceFile:107)\r\n[ERROR] TiApplication: \tat android.os.Binder.transact(Binder.java:310)\r\n[ERROR] TiApplication: \tat com.google.android.gms.maps.internal.IMapFragmentDelegate$a$a.onCreateView(Unknown Source)\r\n[ERROR] TiApplication: \tat com.google.android.gms.maps.SupportMapFragment$a.onCreateView(Unknown Source)\r\n[ERROR] TiApplication: \tat com.google.android.gms.internal.bb$4.b(Unknown Source)\r\n[ERROR] TiApplication: \tat com.google.android.gms.internal.bb.a(Unknown Source)\r\n[ERROR] TiApplication: \tat com.google.android.gms.internal.bb.onCreateView(Unknown Source)\r\n[ERROR] TiApplication: \tat com.google.android.gms.maps.SupportMapFragment.onCreateView(Unknown Source)\r\n[ERROR] TiApplication: \tat android.support.v4.app.FragmentManagerImpl.moveToState(FragmentManager.java:871)\r\n[ERROR] TiApplication: \tat android.support.v4.app.FragmentManagerImpl.moveToState(FragmentManager.java:1083)\r\n[ERROR] TiApplication: \tat android.support.v4.app.BackStackRecord.run(BackStackRecord.java:635)\r\n[ERROR] TiApplication: \tat android.support.v4.app.FragmentManagerImpl.execPendingActions(FragmentManager.java:1431)\r\n[ERROR] TiApplication: \tat android.support.v4.app.FragmentActivity.onStart(FragmentActivity.java:523)\r\n[ERROR] TiApplication: \tat org.appcelerator.titanium.TiBaseActivity.onStart(TiBaseActivity.java:1048)\r\n[ERROR] TiApplication: \tat android.app.Instrumentation.callActivityOnStart(Instrumentation.java:1181)\r\n[ERROR] TiApplication: \tat android.app.Activity.performStart(Activity.java:5260)\r\n[ERROR] TiApplication: \tat android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2219)\r\n{code}\r\n\r\nh5.Expected Result:\r\n1.we should not get any errors & the app should launch & run normally",
"attachment": [],
"flagged": false,
"summary": "Android: Project built with google API key fails with error \"API key not found\"",
"creator": {
"name": "lokeshchdhry",
"key": "lokeshchdhry",
"displayName": "Lokesh Choudhary",
"active": false,
"timeZone": "America/Los_Angeles"
},
"subtasks": [],
"reporter": {
"name": "lokeshchdhry",
"key": "lokeshchdhry",
"displayName": "Lokesh Choudhary",
"active": false,
"timeZone": "America/Los_Angeles"
},
"environment": "Environment:\r\nAppcel Studio : 3.2.0.201310300145\r\nTi SDK : 3.2.0.v20131029150357\r\nMac OSX : 10.8.5\r\nCLI - 3.2.0\r\nDevice: Samsung Galaxy S4 running android 4.2.2",
"comment": {
"comments": [
{
"id": "277561",
"author": {
"name": "lokeshchdhry",
"key": "lokeshchdhry",
"displayName": "Lokesh Choudhary",
"active": false,
"timeZone": "America/Los_Angeles"
},
"body": "Based on conversation with Eric updating the severity to blocker. ",
"updateAuthor": {
"name": "lokeshchdhry",
"key": "lokeshchdhry",
"displayName": "Lokesh Choudhary",
"active": false,
"timeZone": "America/Los_Angeles"
},
"created": "2013-10-31T20:44:52.000+0000",
"updated": "2013-10-31T20:44:52.000+0000"
},
{
"id": "277632",
"author": {
"name": "cbarber",
"key": "cbarber",
"displayName": "Chris Barber",
"active": true,
"timeZone": "America/Chicago"
},
"body": "Pull request: https://github.com/appcelerator/titanium_mobile/pull/4898",
"updateAuthor": {
"name": "cbarber",
"key": "cbarber",
"displayName": "Chris Barber",
"active": true,
"timeZone": "America/Chicago"
},
"created": "2013-11-01T06:28:43.000+0000",
"updated": "2013-11-01T06:28:43.000+0000"
},
{
"id": "278327",
"author": {
"name": "lokeshchdhry",
"key": "lokeshchdhry",
"displayName": "Lokesh Choudhary",
"active": false,
"timeZone": "America/Los_Angeles"
},
"body": "Verified the fix. We do not get any API key error while building.\r\nClosing.\r\n\r\nEnvironment:\r\nAppcel Studio : 3.2.0.201311050207\r\nTi SDK : 3.2.0.v20131104164843\r\nMac OSX : 10.8.5\r\nAlloy : 1.3.0\r\nCLI - 3.2.0\r\nDevice: Samsung Galaxy S4 running android 4.2.2 ",
"updateAuthor": {
"name": "lokeshchdhry",
"key": "lokeshchdhry",
"displayName": "Lokesh Choudhary",
"active": false,
"timeZone": "America/Los_Angeles"
},
"created": "2013-11-06T00:41:19.000+0000",
"updated": "2013-11-06T00:41:19.000+0000"
}
],
"maxResults": 3,
"total": 3,
"startAt": 0
}
}
}