I have installede a app I made. When I run it from eclipse it works, but I cant find it anywhere on my tablet, when I click program (where all the apps are, it is not there) but when I run programmangere I can see it is there. I tried to download it from link, and it install, but I can still not find it anywhere on my tablet.
Any ides??
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.learn2crack.tab"
android:versionCode="1"
android:versionName="1.0" >
<uses-sdk
android:minSdkVersion="16"
android:targetSdkVersion="19" />
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE"/>
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"/>
<uses-permission android:name="android.permission.MOUNT_UNMOUNT_FILESYSTEMS"/>
<uses-permission android:name="android.permission.MOUNT_FORMAT_FILESYSTEMS"/>
<uses-permission android:name="android.permission.WRITE_SETTINGS"/>
<application
android:allowBackup="true"
android:icon="#drawable/ic_launcher"
android:label="#string/app_name"
android:theme="#style/AppTheme" >
<activity
android:name="com.learn2crack.tab.MainActivity"
android:label="#string/app_name" >
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
<data android:mimeType="text/html" />
</intent-filter>
</activity>
</application>
First connect the tablet to your pc then copy your apk file which is in the bin then paste it in your phone memory. now disconnect your device.. Goto FileManager in your tablet find the .apk and click on it install it and then open it... Hope ths will work
Related
I have read all posts that developers page(https://developer.android.com/training/wearables/apps/packaging.html) about packaging wear.
I've tryed step by step everything and nothing works, the wear app never gets installed on the watch. APK installed on my phone, but not in my watch. They have the same package name, permissions, versionCode and versionName.
Each app works well!
I debugged local host:4444, (computer and phone connected via USB connecter, bluetooth connected phone and watch) in eclipse.
problem
the wear app never gets installed on the watch(usb connect smartphone, debug smartphone application)
When I bluetooth debuging an app for smart phones, occurs an error.(usb connect smartphone and wear connect bluetooth debug, debug smartphone application)
why don't installed my watch application? how to solve problem? and what should I debug that phone app or watch app in local host:4444 via bluetooth? If "Turn off Asset Compression" need to me? help me!
code
watch manifest.xml
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.abced.abc"
android:versionCode="1"
android:versionName="1.0" >
<uses-sdk
android:minSdkVersion="20"
android:targetSdkVersion="20" />
<uses-permission android:name="android.permission.WAKE_LOCK"/>
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE"/>
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"/>"
<uses-permission android:name="android.permission.VIBRATE"/>
<application
android:allowBackup="true"
android:icon="#drawable/app_mark"
android:label="#string/app_name"
android:theme="#style/AppTheme" >
<activity
android:name=".MainActivity"
android:label="#string/app_name"
android:exported="true"
android:allowEmbedded="true"
android:taskAffinity=""
android:theme="#android:style/Theme.DeviceDefault.Light" >
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
</application>
</manifest>
phone manifest.xml
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.abcde.abc"
android:versionCode="1"
android:versionName="1.0" >
<uses-sdk
android:minSdkVersion="14"
android:targetSdkVersion="19" />
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE"/>
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"/>"
<uses-permission android:name="android.permission.VIBRATE"/>
<application
android:allowBackup="true"
android:icon="#drawable/app_mark"
android:label="#string/app_name"
android:theme="#style/AppTheme" >
<meta-data android:name="com.google.android.wearable.beta.app"
android:resource="#xml/wear_desc"/>
<activity
android:name="com.abcde.abc.MainActivity"
android:label="#string/app_name" >
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
</application>
</manifest>
wear_desc.xml / apk name : abc.apk
<?xml version="1.0" encoding="utf-8"?>
<wearableApp package="com.abcde.abc">
<versionCode>1</versionCode>
<versionName>1.0</versionName>
<rawPathResId>abc</rawPathResId>
</wearableApp>
Among many requirements, you must have the exact same permissions on both sides, it looks like you forgot android.permission.WAKE_LOCK on the phone manifest.
You also need <uses-feature android:name="android.hardware.type.watch" /> in the Wear manifest.
I've been having a huge problem regarding installation of the application. When I try to install it via eclipse ADT (Connecting via usb cable and press run), the app starts and when I press home and go back immediately to the app it displays my last activity. But when I install the app from the bin folder or the generated signed and unsigned installer, the app closes. Closes meaning when I start the app, click home button and return again, the app seems to have restarted. I tried navigating to other pages expecting that when I hit home and return back to the app, I will be brought back to the page prior clicking the home button. I really don't think this is code related. Maybe in the manifest? Here is it if it would help:
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.nesv.landstar"
android:versionCode="1"
android:versionName="1.0" >
<uses-sdk
android:minSdkVersion="9"
android:targetSdkVersion="17" />
<application
android:allowBackup="true"
android:icon="#drawable/ic_launcher"
android:label="#string/app_name"
android:theme="#style/AppTheme"
>
<activity
android:name="com.nesv.landstar.SplashScreen"
android:label="#string/app_name"
android:screenOrientation="portrait">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
<activity
android:name="com.nesv.landstar.Login"
android:label="#string/app_name"
android:screenOrientation="portrait">
</activity>
<activity
android:name="com.nesv.landstar.DriverLogin"
android:label="#string/app_name"
android:screenOrientation="portrait">
</activity>
<activity
android:name="com.nesv.landstar.LandstarPage"
android:label="#string/app_name"
android:screenOrientation="portrait">
</activity>
<service android:name="com.nesv.landstar.BGService"></service>
</application>
<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.ACCESS_WIFI_STATE" />
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" />
<uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION"/>
<uses-permission android:name="android.permission.WAKE_LOCK" />
I didn't expect this kind of behavior but all my apps that have been installed outside the ADT meaning installer from the bin folder and generated signed/unsidgned installer are acting this way. Any ideas guys? Every comments and suggestions will be a great help. Thanks!
When Im starting my AVD emulator from within Android studio the list of devices in the emuator shows that some of my devices are not compatible with the current project.
It doesn´t show what is not compatible. Is there any way to get to know that?
My first guess was conflicting API versions. But that seems not to be the case sice several AVD:s have the same api settings and some are compatible and others not.
This is my manifest:
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.example"
android:versionCode="1"
android:versionName="1.0" >
<uses-sdk
android:minSdkVersion="8"
android:targetSdkVersion="17" />
<application
android:allowBackup="true"
android:icon="#drawable/ic_launcher"
android:label="#string/app_name"
android:theme="#style/AppTheme" >
<activity
android:name="com.example.MainActivity"
android:label="#string/app_name" >
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
<service
android:name=".SetLocation"
android:label="SetLocation"/>
</application>
<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE"/>
<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION"/>
<uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION"/>
</manifest>
And a screenshot of the list:
maybe if your applications are written for lover API version that device that you will use for testing. Can you run the application in emulator?
I've been for the past 2 hours trying everything to install an apk in my android phone but I couldn't find a solution...
I've implemented an ArcGIS app with Sherlock Action Bars. My project as a minimum SDK Version 7, and my phone is a Android 2.3.3 (SDK Version 10). The phone is an Acer Z110 Duo.
My manifest is:
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
package="com.AEP41.main"
android:versionCode="1"
android:versionName="1.0" >
<uses-sdk
android:minSdkVersion="7"
android:targetSdkVersion="17"/>
<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" />
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
<uses-permission android:name="android.permission.ACCESS_WIFI_STATE" />
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
<uses-feature
android:glEsVersion="0x00020000"
android:required="true" />
<application
android:allowBackup="true"
android:icon="#drawable/ic_launcher"
android:label="#string/app_name"
android:theme="#style/Theme.Sherlock" >
<activity
android:name="com.AEP41.main.AEP41Activity"
android:label="#string/app_name"
android:screenOrientation="portrait" >
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
<activity
android:name=".FieldDetails"
android:description="#string/title_activity_field_details"
android:screenOrientation="portrait" >
</activity>
</application>
</manifest>
There is something that I'm missing? Is there any settings that I need to change in my phone to install it?
Thanks in advance ;)
David Wasser is right - app must be signed. "Unknown sources" is for apps from other markets then Google Play. So export signed APK or build project and find signed APK in bin folder of project.
To allow app installs from non-Market apps, tap the menu button on your home screen, then choose Settings >> Applications >> Unknown sources.
This week I got my new Samsung S3 and wanted to deploy a project to my phone.
After deploying it with Eclipse it starts up normally and works.
But I then can't find a launcher in the main menu. :-/ (Last time I rebooted the device and then it was there, but I think that's not a solution)
In Settings - Application Manager - Installed Applications I can find the application.
OS: Ubuntu 12.04 LTS
Android 4.0.4
Eclipse Indigo
Latest SDK installed
Here is my android manifest file.
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="de.uniba.wiai.ktr"
android:versionCode="1"
android:versionName="1.0" >
<uses-sdk android:minSdkVersion="15" />
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"/>
<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION"/>
<uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION"/>
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE"/>
<uses-permission android:name="android.permission.CHANGE_NETWORK_STATE"/>
<uses-permission android:name="android.permission.BATTERY_STATS"/>
<uses-permission android:name="android.permission.WAKE_LOCK"/>
<uses-permission android:name="android.permission.GET_TASKS"/>
<application
android:icon="#drawable/ktr"
android:label="#string/app_name" android:logo="#drawable/ktr" android:debuggable="true">
<activity
android:name=".KTRStreamServiceActivity"
android:label="#string/app_name" >
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
<activity android:name="KTRStreamConfiguration"></activity>
<service android:name="KTRStreamService" android:icon="#drawable/ic_launcher" android:logo="#drawable/ic_launcher" android:exported="false">
</service>
</application>
</manifest>
Thanks
Added:
Tested the tool with a Nexus (also Android 4.0.4) and it works.
Same of this problem happend to me in past, and the problem was in the Application Icon Size try to make it smaller and in Square ratio( follow icon design guideline in android website).
some third party launchers ignores applications with wrong icon size.