Jump to content

[TOPIC: topicViewTemplate]
[GLOBAL: userSmallPhoto]
Photo

Note 8 weird installation
Started by dodi_games Jul 04 2018 06:57 PM

14 replies to this topic
[TOPIC CONTROLS]
[/TOPIC CONTROLS]
[modOptionsDropdown]
[/modOptionsDropdown]
[reputationFilter]
[TOPIC: post.html]
#1

dodi_games

[GLOBAL: userInfoPane.html]
dodi_games
  • Contributor

  • 272 posts
  • Corona SDK

Hi guys! I've been trying to decipher all day why my app does not install on a Samsung Galaxy Note 8 from the T-Mobile provider but in one of Sprint installs without problems. My personal test device is a Nexus 6 and I have never had any problems. I have also installed on Samsung Galaxy Express 3, Samsung S8, S8 plus, some ZTE models, some HTC models of which I do not remember their model. Because the Samsung Galaxy Note 8 test devices are not mine I do not have it on hand to clarify doubts, but I tried to install the apk on my Galaxy Tab A 8, in which I had already installed a previous debbug version, but now the installation is stuck and it does not let me press the install button, I can only cancel the installation. :(

here is a capture of the Note 8 screen error:

Attached File  note 8 issue.jpg   27.5KB   0 downloads

here is my build settings:

--
-- For more information on build.settings, see the Project Build Settings guide at:
-- https://docs.coronalabs.com/guide/distribution/buildSettings
--

settings =
{
	orientation =
	{
		-- Supported values for orientation:
		-- portrait, portraitUpsideDown, landscapeLeft, landscapeRight

		default = "portrait",
		supported = { "portrait", "portraitUpsideDown" },
	},

	--
	-- Android section
	--
	android =
	{
		usesPermissions =
		{
			"android.permission.INTERNET",
			"android.permission.CAMERA",
			"android.permission.WRITE_EXTERNAL_STORAGE",
		},
	},

	--
	-- iOS section
	--
	iphone =
	{
	  xcassets = "Images.xcassets",
		plist =
		{
			UIStatusBarHidden = false,
			UILaunchStoryboardName = "LaunchScreen",
                        NSCameraUsageDescription = "This app would like to access the camera.",
			NSPhotoLibraryUsageDescription = "This app would like to access the photo library.",
		},
	},

	--
	-- Plugins section
	--
	plugins =
	{

	},

	--
	-- Project section
	--
	excludeFiles =
	{
		-- Exclude unnecessary files for each platform
		all = { "Icon.png", "Icon-*dpi.png", "Images.xcassets", },
		android = { "LaunchScreen.storyboardc", },
	},
}

 


[TOPIC: post.html]
#2

dodi_games

[GLOBAL: userInfoPane.html]
dodi_games
  • Contributor

  • 272 posts
  • Corona SDK

the only change I made was to shrink the modules a little by eliminating the spaces between lines and adding comments to have code organized.  Also replaced the font of the texts in the following way:

Ex:

local color = 
{
    highlight = { r=0, g=0, b=0 },
 
}

-- create()

local txt1 = display.newEmbossedText( "LENGHT", 250, 125, "LSU.ttf", 24 )
txt1:setEmbossColor( color )
sceneGroup:insert( txt1 )

Where "LSU.ttf" is the font Lucida Sans Unicode, but I rename the file to make the name shorter.



[TOPIC: post.html]
#3

ldurniat

[GLOBAL: userInfoPane.html]
ldurniat
  • Contributor

  • 355 posts
  • Corona SDK

Do you install app from APK file or Google Play Store on Samsung Galaxy Note 8

 

Try

 

1. Security Settings.

  • Go to the settings
  • Scroll down & select option “security.”
  • Check on the option “Unknown sources.”
OR
 
2.Enable USB Debugging.

 

OR

 

3. APK file can be corrupted.

 

OR

 

4. Disable Antivirus.

 

OR 

 

5. Clear Cache Cookies Of Play Store.

  • Open google play store
  • Select sidebar & choose option “settings.”
  • In general settings, you will find out to “clear local search history.”
 
ldurniat

  • dodi_games likes this

[TOPIC: post.html]
#4

dodi_games

[GLOBAL: userInfoPane.html]
dodi_games
  • Contributor

  • 272 posts
  • Corona SDK

@ldurniat

Thanks for the reply!

Yesterday in the morning I paid the Google developer account fee, I'm still waiting for approval. I do not have access to play store yet.

My method is the following build from simulator > make a .rar of the apk > sent via email to my phone > extract > install. Then to send the apk to other devices I upload the apk (not .rar) to Google drive and share the link via email, whatsapp, etc, to my friends for test. Everything was fine until the note 8 Android 8.0.0 and Tab A Android 7.1.1

[TOPIC: post.html]
#5

dodi_games

[GLOBAL: userInfoPane.html]
dodi_games
  • Contributor

  • 272 posts
  • Corona SDK

I just found out that the note 8 that does not let me do the installation was purchased with the 7.1.1 system and updated to 8.0.0, the note 8 that let me do the installation was purchased with the 8.0.0 already installed.

I just want to make sure my app runs good on new devices.

Any advice to be 90% sure in my goal?

[TOPIC: post.html]
#6

dodi_games

[GLOBAL: userInfoPane.html]
dodi_games
  • Contributor

  • 272 posts
  • Corona SDK

Can someone explain to me if there is any reason why I can install my App in a Note 8 Android 8.0.0 and in another similar note 8 does not want to install? I have in my hands two similar Note 8, exactly similar in everything, and in one I can install the App and in another no.

This has stuck me in the publication of my App because my goal is modern devices.

[TOPIC: post.html]
#7

Rob Miracle

[GLOBAL: userInfoPane.html]
Rob Miracle
  • Moderator

  • 24,578 posts
  • Corona Staff

Generally, you shouldn't be renaming font files. There is an internal name and its kind of best if those names match. But that's beside the point. It's a change you made and perhaps something is amiss with that. I don't know if you're hitting a case sensitivity issue or what, but you're not providing any messages from your device's console log that could clue us into what's going on.  We really need your help to help you.

 

Rob


  • dodi_games likes this

[TOPIC: post.html]
#8

dodi_games

[GLOBAL: userInfoPane.html]
dodi_games
  • Contributor

  • 272 posts
  • Corona SDK

@rob
I'm reading but not find how to view messages from my device's console log. Any link to read how to achieve this task?

[TOPIC: post.html]
#9

roaminggamer

[GLOBAL: userInfoPane.html]
roaminggamer
  • Corona Geek

  • 6,981 posts
  • Corona SDK

https://docs.coronalabs.com/guide/basics/debugging/index.html

 

==> https://docs.coronalabs.com/guide/basics/debugging/index.html#device-debugging-android


  • dodi_games likes this

[TOPIC: post.html]
#10

dodi_games

[GLOBAL: userInfoPane.html]
dodi_games
  • Contributor

  • 272 posts
  • Corona SDK

@all

I remember when I develop for Blackberry you can test the build in a virtual devices. There is a way I can install a Note 8 virtual device? Right now I do not have the real device in my hand.

[TOPIC: post.html]
#11

roaminggamer

[GLOBAL: userInfoPane.html]
roaminggamer
  • Corona Geek

  • 6,981 posts
  • Corona SDK

Testing in virtual devices is very slow. Get a real device to save yourself a ton of pain.

Also, a virtual device won't 100% replicate testing on a real device, so you may simply be wasting your time if you go that route.
  • dodi_games likes this

[TOPIC: post.html]
#12

dodi_games

[GLOBAL: userInfoPane.html]
dodi_games
  • Contributor

  • 272 posts
  • Corona SDK

Hi again!

Today I install the .apk to my Samsung Galaxy tab A via adb in which I explain I can't installed via my normal installation process (Corona simulator built + make a .rar + send via email + install in my Nexus 6 .. then upload the .apk file to Google Drive, not the .rar, and send the link to other devices via email, message, etc).

 

My questions:

 

1) If I have managed to install the .apk without any problem through adb can I continue with the publication of my app?

2) The error was in the devices not in my code?

 

Thanks in advance

DoDi



[TOPIC: post.html]
#13

Rob Miracle

[GLOBAL: userInfoPane.html]
Rob Miracle
  • Moderator

  • 24,578 posts
  • Corona Staff

You're asking questions that are impossible to answer. You are talking about problems on a Note 8, but now you're talking about a Galaxy Tab A. You can publish your app when you are confident that you've tested it and you are not expecting any problems. We can't answer that for you.

 

I doubt your devices were the problem. I don't know if it's your code either. Maybe an issue with using RAR? 

 

Do you have a device where you're getting the error? If you do, maybe try installing the way that's broken, but have it tethered via USB and use "adb logcat" and have that running before you install it and then watch for errors.

 

Rob



[TOPIC: post.html]
#14

dodi_games

[GLOBAL: userInfoPane.html]
dodi_games
  • Contributor

  • 272 posts
  • Corona SDK

I'm talking about a weird installation on a note 8 devices, that's the title of the topic. I do not have a note 8 at hand, they were friends that help me. Now, I have a tab A, that I realized after having created the topic, that I confront installation problems, is written above in this topic. so as not to create another topic with the same situation, I decided to write it here.

 

After a hard morning trying to collect errors at the time of installation, I managed to install the apk using the adb in my Galaxy Tab A. As I am a newbie I thought that someone could have gone through the same situation and could help me. @Rob I am not a programmer, I am beginning to understand how Corona's api work and my main intention is to maintain good relations with the members of the forum. If I'm doing something wrong I apology.

 

The apk was successfully installed, with no errors, in my Galaxy Tab A via adb, but I still can't install it via the google drive method describe above too.

 

Thanks in advance

DoDi



[TOPIC: post.html]
#15

Rob Miracle

[GLOBAL: userInfoPane.html]
Rob Miracle
  • Moderator

  • 24,578 posts
  • Corona Staff

All is good community wise. I was just pointing out that no one can answer if you can continue to publish your app. Only you can make that decision. Release when you're comfortable.

 

And for question #2, is it your code or a problem with the device? That's hard to answer too because we don't have enough information.

 

Rob




[topic_controls]
[/topic_controls]