What is the easiest way to generate APK files in Android Studio?
My project's android/build/outputs folder contains two apk files: android-debug, android-debug-unaligned. Should I use these? Which one?
Read this article
Scroll down to the android studio section.
By default, the file should be located in your //android directory
the default name for your apk is android-release.apk
You can generate APK in Android Studio as:
Open your project in Android Studio
Open the menu Build then click on "generate signed apk" (then a pop-up displays)
Select apk
Then enter key store path and its password (assuming you have already one)
Click the check boxes -> finish.
After the gradle build the APK gets generated.
Related
I want to create an upload package for the Windows Store.
The app is essentially "Hello world" for a dev express XAF Win application. I am using the Desktop Bridge.
I am following the docs to create the upload package
This created a file
C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\MSBuild\Microsoft\VisualStudio\v15.0\AppxPackage
And an error
APPX3217 SDK folder containing 'UAP.props' for 'UAP 10.0.17763.0'
cannot be located. See http://go.microsoft.com/fwlink/?LinkID=798187 for more information
When I double click the error it goes to the following code in the Targets file
<GetSdkPropertyValue Condition="'$(AppxPackagePipelineVersion)' == '$(UapBuildPipeline)'"
TargetPlatformSdkRootOverride="$(TargetPlatformSdkRootOverride)"
SDKIdentifier="$(SDKIdentifier)"
SDKVersion="$(SDKVersion)"
TargetPlatformIdentifier="$(TargetPlatformIdentifier)"
TargetPlatformMinVersion="$(TargetPlatformMinVersion)"
TargetPlatformVersion="$(TargetPlatformVersion)"
PropertyName="WindowsSdkDir"
VsTelemetrySession="$(VsTelemetrySession)">
I am targeting WIndows 10, version 1809(10.0; Build 17763) and also have this as the min version.
The application is using .Net Framework 4.7.2
As per the Microsoft link I had to install the update for Windows 10 SDK, version 1809.
My Logs :
Error APPX3217: SDK folder containing 'UAP.props' for 'UAP
10.0.18362.0' cannot be located.
This works for me.
Go to https://developer.microsoft.com/en-us/windows/downloads/sdk-archive/
Install SDK: Windows 10 SDK, version 1903 (10.0.18362.1)
Then, rebuild it succeeded.
I had the same issue with a CI/CD project that relied on the 1703 release. I used choco to fix it as a build-step.
choco install windows-sdk-10.1 --version=10.1.15063.468
I installed Cocos Studio v2.3.3 to C:\Cocos using the link to a non-framework included package on the cocos2d-x.org site. I then unpacked cocos2d-x v3.9 using the zip file provided into the C:\Cocos\frameworks\cocos2d-x-3.9 - but Cocos Studio doesn't recognize that the Cocos2d-x framework is installed.
When I look in the Platform section of the Preferences menu item under the Edit menu, it show this:
And as expected, when I try to modify an already created project options, I see this:
I've tried all the suggestions posted in the Cocos2d-x forums, including but not limited to editing the Frameworks\FrameworksVersionList.xml to include the entry for cocos2d-x-3.9 (it was already there), editing the cocos2d.ini file in tools\console\bin, removing various combinations and then all cocos environment variables and quite a few others. None of the solutions either by themselves or in combination with one another worked.
Has anyone gotten Cocos Studio to work with a separate installation of Cocos2d-x framework?
Details of the solution with various things I tried are listed in this blog post: http://vijay.tech/talks/solved-cocos-studio-cocos-framework-is-not-installed-error/ Note that the post has a registry edit script (.REG file) attached for convenience.
But the essential steps are listed here:
Download and install Cocos for Windows V2.3.3 (the one without framework) to C:\Cocos
Download and unzip cocos2d-x-3.9.zip to C:\Cocos\frameworks\cocos2d-x-3.9
Manually create the following registry entries on Windows (64 bit):
HKLM\Software\Wow6432Node\CocosFramework\InstallDir as a REG_SZ and set it to C:\Cocos
HKLM\Software\Wow6432Node\CocosFramework\3.9\EngineVersion as a REG_SZ and set it to cocos2d-x-3.9
HKLM\Software\Wow6432Node\CocosFramework\3.9\Path as a REG_SZ and set it to C:\Cocos\frameworks\cocos2d-x-3.9
Create a file named version with the contents cocos2d-x-3.9 in C:\Cocos\frameworks\cocos2d-x-3.9
If you also want to do Android development, then Android SDK, Android NDK, Ant and JDK paths should be set in the Platform section of the Edit/Preferences menu item, else skip this step.
I have a Windows Store Application (Windows 8.1), hosted on a GIT repo on Visual Studio Online.
I created a build definition, left all the default values as they were, ran the build and downloaded the artifacts.
I didn't find the Powershell script used to side load (install) the application, instead I found an .exe file.
What can be missing to generate the Powershell script needed to install the app?
The default build configuration is copying the files in "bin" folder to artifacts, that's why you see exe file.
To copy the package files to artifacts, please configure your build definition as following:
In "Visual Studio Build" step, add following argument in "MSBuild Arguments":
/p:AppxPackageDir="$(Build.BinariesDirectory)\AppxPackages\\"
And in "Publish Build Artifacts" steps, set "Path to Publish" as following:
$(Build.BinariesDirectory)\AppxPackages
To package Windows Store App during the TFS build process, you can (assume you're using XAML build):
1). Set MSBuild Arguments to be: /p:DeployOnBuild=true;DeployMethod=Package /p:DefaultPackageOutputDir="$(TF_BUILD_BINARIESDIRECTORY)"\StoreAppPackage
2). Set Output location to be 'SingleFolder' or 'PerProject'.
Then, after you queue one build, you will find one folder called StoreAppPackage in the TFS Build Drop folder. You can then find the Add-AppDevPackage.ps1 file.
Quick question for anyone out there. I'm trying to install the August edition of the NuGet package of the wptoolkit. Unfortunately, I can't get it to show up under VS2013 Pro. Has anyone been able to get this to work?
You would have to browse to the dll which contains the controls to add them to the toolbox. In my project browse to the Packages folder of that project and then go to WPtoolkit.4.2013.08.16\lib\sl4-windowsphone71\Microsoft.Phone.Controls.Toolkit.dll
Even though it is a WP8 project, it only seems to work if you put in the 7.1 dll in the toolbox, otherwise if does not load. The only controls that don't work are LongListSelector and MultiSelect as they are now part of the base WP8 framework controls. Even though they are in the toolbox, when you try to drop them on your page you will get an error. All other controls seem to work just fine.
It should show up once you obtained it from NuGet.
Open Package Manager
Type in Install-Package WPtoolkit and press enter
Then, it'll be downloaded and imported into your project, so it should show up in the References folder.
I am trying to learn actionScript 3.0 from scratch and I was advised to use Intellij IDEA for development.However I am really struggling to install Flash SDK in it. Could someone help me with it? Please don't refer me to documentation, I tried already and faild miserably. Thanx
It is only for Ultimate Edition
The basic setup of IDEA for as3 project is:
Install & unpack (if needed) Flex SDK
With Idea opened, choose File->Project Structure (even if project isn't opened or created)
In SDK section, press + at the top of second columnd and choose Flex SDK from dropdown list
Select folder, where you have previously unpacked Flex SDK (where you have subfolders bin, frameworkds and so on)
Return to Project section in Project Structure window.
Choose default Project SDK from dropdown list (near New... button)
Press OK.
Now, you are prepared for project creating (via File->New Project...)
Also, the 3.6 SDK download has really messed up permissions. IntelliJ would let me select the folder, but just quietly do nothing.
I had to sudo chmod -R a+r [sdk dir] and sudo chmod -R a+x [sdk dir]/frameworks to get it to actually add the SDK after selecting.
Do the first one and see if it works, I was being pretty callous with my chmod'ing, but the frameworks directory had no permissions at all. It, at least, needs to be +rx.