{"action":"created","issue":{"url":"https://api.github.com/repos/forcedotcom/SalesforceMobileSDK-CordovaPlugin/issues/253","repository_url":"https://api.github.com/repos/forcedotcom/SalesforceMobileSDK-CordovaPlugin","labels_url":"https://api.github.com/repos/forcedotcom/SalesforceMobileSDK-CordovaPlugin/issues/253/labels{/name}","comments_url":"https://api.github.com/repos/forcedotcom/SalesforceMobileSDK-CordovaPlugin/issues/253/comments","events_url":"https://api.github.com/repos/forcedotcom/SalesforceMobileSDK-CordovaPlugin/issues/253/events","html_url":"https://github.com/forcedotcom/SalesforceMobileSDK-CordovaPlugin/issues/253","id":192555484,"number":253,"title":"No resource found that matches the given name (at 'icon' with value '@drawable/sf__icon')","user":{"login":"sndyuk","id":615630,"avatar_url":"https://avatars.githubusercontent.com/u/615630?v=3","gravatar_id":"","url":"https://api.github.com/users/sndyuk","html_url":"https://github.com/sndyuk","followers_url":"https://api.github.com/users/sndyuk/followers","following_url":"https://api.github.com/users/sndyuk/following{/other_user}","gists_url":"https://api.github.com/users/sndyuk/gists{/gist_id}","starred_url":"https://api.github.com/users/sndyuk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sndyuk/subscriptions","organizations_url":"https://api.github.com/users/sndyuk/orgs","repos_url":"https://api.github.com/users/sndyuk/repos","events_url":"https://api.github.com/users/sndyuk/events{/privacy}","received_events_url":"https://api.github.com/users/sndyuk/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":12,"created_at":"2016-11-30T12:39:18Z","updated_at":"2016-12-03T21:06:23Z","closed_at":"2016-12-03T21:06:23Z","body":"Hi,\r\nI followed the [instructions](https://developer.salesforce.com/docs/atlas.ja-jp.noversion.mobile_sdk.meta/mobile_sdk/dev_hybrid_apps_run.htm) and faced on the build error.\r\nIs there anything I missed?\r\n\r\n`cordova -v`\r\n6.4.0\r\n\r\nCommands I put:\r\n```\r\ncordova create contactsApp com.salesforce.contactexplorer contactsApp\r\ncd contactsApp\r\nnpm install shelljs@0.7.0\r\ncordova plugin add cordova-plugin-contacts\r\ncordova plugin add cordova-plugin-statusbar\r\ncordova plugin add https://github.com/forcedotcom/SalesforceMobileSDK-CordovaPlugin\r\ncordova platform add android@5.0.0 \r\ncordova platform add ios@4.2.0 \r\ncp -RL <local path to SalesforceMobileSDK-Shared>/samples/contactexplorer/* www/\r\ncordova prepare\r\ncordova build\r\n```\r\n\r\nThen I got the error message:\r\n```\r\n:processDebugManifest\r\nWarning: /hoge/contactsApp/platforms/android/AndroidManifest.xml:30:9-104 Warning:\r\n        Element activity#com.adobe.phonegap.push.PushHandlerActivity at AndroidManifest.xml:30:9-104 duplicated with element declared at AndroidManifest.xml:6:9-104\r\n/hoge/contactsApp/platforms/android/AndroidManifest.xml:30:9-104 Warning:\r\n        Element activity#com.adobe.phonegap.push.PushHandlerActivity at AndroidManifest.xml:30:9-104 duplicated with element declared at AndroidManifest.xml:6:9-104\r\n:processDebugResources\r\n/hoge/contactsApp/platforms/android/build/intermediates/manifests/full/debug/AndroidManifest.xml:38:23-41 : No resource found that matches the given name (at 'icon' with value '@drawable/sf__icon').\r\n\r\n:processDebugResources FAILED\r\n\r\nFAILURE: Build failed with an exception.\r\n```\r\n\r\nThanks.\r\n\r\n\r\n`cordova build -d`\r\n```\r\nNo scripts found for hook \"before_build\".\r\nNo scripts found for hook \"before_prepare\".\r\nChecking config.xml for saved platforms that haven't been added to the project\r\nChecking for any plugins added to the project that have not been installed in android platform\r\nNo differences found between plugins added to project and installed in android platform. Continuing...\r\nChecking for any plugins added to the project that have not been installed in ios platform\r\nNo differences found between plugins added to project and installed in ios platform. Continuing...\r\nGenerating config.xml from defaults for platform \"android\"\r\nGenerating platform-specific config.xml from defaults for iOS at /hoge/contactsApp/platforms/ios/contactsApp/config.xml\r\nMerging project's config.xml into platform-specific iOS config.xml\r\nMerging and updating files from [www, platforms/ios/platform_www] to platforms/ios/www\r\nWrote out Android application name to \"contactsApp\"\r\nWrote out Android package name to \"com.salesforce.contactexplorer\"\r\nThis app does not have launcher icons defined\r\nupdated project successfully\r\nWrote out iOS Bundle Identifier \"com.salesforce.contactexplorer\" and iOS Bundle Version \"1.0.0\" to /hoge/contactsApp/platforms/ios/contactsApp/contactsApp-Info.plist\r\niOS Product Name has not changed (still \"contactsApp\")\r\nThis app does not have icons defined\r\nThis app does not have splash screens defined\r\nPrepared iOS project successfully\r\nExecuting script found in plugin com.salesforce for hook \"after_prepare\": plugins/com.salesforce/tools/after-prepare-android.js\r\nRemoving duplicate entry from AndroidManifest.xml.\r\nRemoved duplicate entry in AndroidManifest.xml.\r\nChecking config.xml for saved plugins that haven't been added to the project\r\nNo scripts found for hook \"before_compile\".\r\nANDROID_HOME=/hoge/Library/Android/sdk\r\nJAVA_HOME=/Library/Java/JavaVirtualMachines/jdk1.8.0_60.jdk/Contents/Home\r\n:preBuild UP-TO-DATE\r\n:preDebugBuild UP-TO-DATE\r\n:checkDebugManifest\r\n:CordovaLib:compileLint\r\n:CordovaLib:copyDebugLint UP-TO-DATE\r\n:CordovaLib:mergeDebugProguardFiles UP-TO-DATE\r\n:CordovaLib:preBuild UP-TO-DATE\r\n:CordovaLib:preDebugBuild UP-TO-DATE\r\n:CordovaLib:checkDebugManifest\r\n:CordovaLib:prepareDebugDependencies\r\n:CordovaLib:compileDebugAidl UP-TO-DATE\r\n:CordovaLib:compileDebugRenderscript UP-TO-DATE\r\n:CordovaLib:generateDebugBuildConfig UP-TO-DATE\r\n:CordovaLib:generateDebugAssets UP-TO-DATE\r\n:CordovaLib:mergeDebugAssets UP-TO-DATE\r\n:CordovaLib:generateDebugResValues UP-TO-DATE\r\n:CordovaLib:generateDebugResources UP-TO-DATE\r\n:CordovaLib:packageDebugResources UP-TO-DATE\r\n:CordovaLib:processDebugManifest UP-TO-DATE\r\n:CordovaLib:processDebugResources UP-TO-DATE\r\n:CordovaLib:generateDebugSources UP-TO-DATE\r\n:CordovaLib:processDebugJavaRes UP-TO-DATE\r\n:CordovaLib:compileDebugJavaWithJavac UP-TO-DATE\r\n:CordovaLib:packageDebugJar UP-TO-DATE\r\n:CordovaLib:compileDebugNdk UP-TO-DATE\r\n:CordovaLib:packageDebugJniLibs UP-TO-DATE\r\n:CordovaLib:packageDebugLocalJar UP-TO-DATE\r\n:CordovaLib:packageDebugRenderscript UP-TO-DATE\r\n:CordovaLib:bundleDebug UP-TO-DATE\r\n:prepareAndroidCordovaLibUnspecifiedDebugLibrary UP-TO-DATE\r\n:preReleaseBuild UP-TO-DATE\r\n:CordovaLib:copyReleaseLint UP-TO-DATE\r\n:CordovaLib:mergeReleaseProguardFiles UP-TO-DATE\r\n:CordovaLib:preReleaseBuild UP-TO-DATE\r\n:CordovaLib:checkReleaseManifest\r\n:CordovaLib:prepareReleaseDependencies\r\n:CordovaLib:compileReleaseAidl UP-TO-DATE\r\n:CordovaLib:compileReleaseRenderscript UP-TO-DATE\r\n:CordovaLib:generateReleaseBuildConfig UP-TO-DATE\r\n:CordovaLib:generateReleaseAssets UP-TO-DATE\r\n:CordovaLib:mergeReleaseAssets UP-TO-DATE\r\n:CordovaLib:generateReleaseResValues UP-TO-DATE\r\n:CordovaLib:generateReleaseResources UP-TO-DATE\r\n:CordovaLib:packageReleaseResources UP-TO-DATE\r\n:CordovaLib:processReleaseManifest UP-TO-DATE\r\n:CordovaLib:processReleaseResources UP-TO-DATE\r\n:CordovaLib:generateReleaseSources UP-TO-DATE\r\n:CordovaLib:processReleaseJavaRes UP-TO-DATE\r\n:CordovaLib:compileReleaseJavaWithJavac UP-TO-DATE\r\n:CordovaLib:packageReleaseJar UP-TO-DATE\r\n:CordovaLib:compileReleaseNdk UP-TO-DATE\r\n:CordovaLib:packageReleaseJniLibs UP-TO-DATE\r\n:CordovaLib:packageReleaseLocalJar UP-TO-DATE\r\n:CordovaLib:packageReleaseRenderscript UP-TO-DATE\r\n:CordovaLib:bundleRelease UP-TO-DATE\r\n:prepareComAndroidSupportSupportV132340Library UP-TO-DATE\r\n:prepareComAndroidSupportSupportV42400Library UP-TO-DATE\r\n:prepareComGoogleAndroidGmsPlayServicesBase980Library UP-TO-DATE\r\n:prepareComGoogleAndroidGmsPlayServicesBasement980Library UP-TO-DATE\r\n:prepareComGoogleAndroidGmsPlayServicesGcm980Library UP-TO-DATE\r\n:prepareComGoogleAndroidGmsPlayServicesIid980Library UP-TO-DATE\r\n:prepareComGoogleAndroidGmsPlayServicesTasks980Library UP-TO-DATE\r\n:prepareDebugDependencies\r\n:compileDebugAidl UP-TO-DATE\r\n:compileDebugRenderscript UP-TO-DATE\r\n:generateDebugBuildConfig UP-TO-DATE\r\n:generateDebugAssets UP-TO-DATE\r\n:mergeDebugAssets UP-TO-DATE\r\n:generateDebugResValues UP-TO-DATE\r\n:generateDebugResources UP-TO-DATE\r\n:mergeDebugResources UP-TO-DATE\r\n:processDebugManifest UP-TO-DATE\r\n:processDebugResources FAILED\r\n\r\nBUILD FAILED\r\n\r\nTotal time: 2.44 secs\r\n```"},"comment":{"url":"https://api.github.com/repos/forcedotcom/SalesforceMobileSDK-CordovaPlugin/issues/comments/264665519","html_url":"https://github.com/forcedotcom/SalesforceMobileSDK-CordovaPlugin/issues/253#issuecomment-264665519","issue_url":"https://api.github.com/repos/forcedotcom/SalesforceMobileSDK-CordovaPlugin/issues/253","id":264665519,"user":{"login":"bhariharan","id":1820287,"avatar_url":"https://avatars.githubusercontent.com/u/1820287?v=3","gravatar_id":"","url":"https://api.github.com/users/bhariharan","html_url":"https://github.com/bhariharan","followers_url":"https://api.github.com/users/bhariharan/followers","following_url":"https://api.github.com/users/bhariharan/following{/other_user}","gists_url":"https://api.github.com/users/bhariharan/gists{/gist_id}","starred_url":"https://api.github.com/users/bhariharan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bhariharan/subscriptions","organizations_url":"https://api.github.com/users/bhariharan/orgs","repos_url":"https://api.github.com/users/bhariharan/repos","events_url":"https://api.github.com/users/bhariharan/events{/privacy}","received_events_url":"https://api.github.com/users/bhariharan/received_events","type":"User","site_admin":false},"created_at":"2016-12-03T21:06:23Z","updated_at":"2016-12-03T21:06:23Z","body":"@sndyuk This is fixed [here](https://github.com/forcedotcom/SalesforceMobileSDK-CordovaPlugin/pull/258). It will be a part of our upcoming `Mobile SDK 5.0` release, which is slated to drop sometime this month. #safeharbor"}}
{"actor":{"display_login":"bhariharan"}}