manifest

Android xml manifest属性详解

℡╲_俬逩灬. 提交于 2019-12-10 07:47:05
manifest extras: 例子: <manifest xmlns:android="http://schemas.android.com/apk/res/android" package="com.woody.test" android:sharedUserId="string" android:sharedUserLabel="string resource" android:versionCode="integer" android:versionName="string" android:installLocation=["auto" | "internalOnly" | "preferExternal"] > <uses-sdk android:minSdkVersion="integer" android:targetSdkVersion="integer" android:maxSdkVersion="integer"/> <uses-configuration android:reqFiveWayNav=["true" | "false"] android:reqHardKeyboard=["true" | "false"] android:reqKeyboardType=["undefined" | "nokeys" | "qwerty" |

Gradle war manifest version number wrong for release build

强颜欢笑 提交于 2019-12-10 04:36:00
问题 I have a gradle project that builds a war file, and includes a manifest: war { archiveName 'archive.war' manifest { attributes("Implementation-Title": project.name, "Implementation-Version": version, "Implementation-Timestamp": new Date()) } } This is fine, but if I run a release build (using the gradle-release plugin https://github.com/townsfolk/gradle-release), which updates the project version, then the war file is created with the old version number rather than the new one. I may be wrong

Cache manifest offline app not refreshing javascript files in Chrome

♀尐吖头ヾ 提交于 2019-12-10 02:23:46
问题 I am working on an offline web app using a cache manifest file. I am having trouble refreshing my javascript files. If I change a .js file (which is listed in the manifest file) and I then change the manifest file version no. and save it, then the changed .js file does not get reloaded on the client. What do I have to do to get .js files to refresh? Thanks 回答1: That's because the webserver tells the browser cache static files for a few hours. So the browser doesn't know the manifest file is

AppCache Manifest Error

柔情痞子 提交于 2019-12-10 01:13:45
问题 Edit : I had to remove some links. My manifest page seems to be causing errors on my web page. When you first go to the page everything appears to cache successfully, but upon refresh it fails to get files that exist. I made a quick test page to check out, here. Here is my manifest file. This is a VERY dynamic site by php & javascript, I haven't got too much into appcache with those factors, so I'm unsure if the issue has to do with the fact that so much content has to be conditionally set in

Cant load embedded resource with GetManifestResourceStream()

天涯浪子 提交于 2019-12-10 00:49:55
问题 I am embedding a binary file with the /linkres: compiler argument, but when i try to load it with: System.Reflection.Assembly myAssembly = System.Reflection.Assembly.GetExecutingAssembly(); string[] names = myAssembly.GetManifestResourceNames(); // it is really there by its name "shader.tkb" Stream myStream = myAssembly.GetManifestResourceStream( names[0] ); this leads to a Unhandled Exception: System.IO.FileNotFoundException: Could not load file or assembly 'shader.tkb' or one of its

Office addin published failed because incomplete content “Authorizations” in “WebapplicationInfo”

China☆狼群 提交于 2019-12-10 00:03:21
问题 A week ago(7.9) we was publishing our office addin, and we uploaded our addin successfully. Today(7.16) we want to upload the same addin but get the follow error:enter image description here If we added the "Authorizations" node at the Visual Studio, VS won't take that element and it would display error message to state that it is an invalid child element. Please see screen shot So it looks like that there is no "Authorizations" attribute in the "WebapplicationInfo" referencing this link

An unknown error occurred when fetching the script (Service Worker)

淺唱寂寞╮ 提交于 2019-12-09 14:30:42
问题 When going offline, I get the following error by my service worker: (unknown) #3016 An unknown error occurred when fetching the script my service worker looks like this: var version = 'v1' this.addEventListener('install', function(event){ event.waitUntil( caches.open(version).then(cache => { return cache.addAll([ 'https://fonts.googleapis.com/icon?family=Material+Icons', 'https://fonts.googleapis.com/css?family=Open+Sans:400,600,300', './index.html' ]) }) ) }) this.addEventListener('fetch',

Is it necessary to change the assemblyIdentity's version attribute in a manifest file?

若如初见. 提交于 2019-12-09 14:20:07
问题 In the following manifest, is it necessary to change the version attribute of the assemblyIdentity element if the assembly version is specified in the project (or, in my case, set as part of a MSBuild task)? According to this Microsoft Connect page, it looks like the project's version number overrides the manifest's version number. Please correct me if I'm wrong... <?xml version="1.0" encoding="utf-8"?> <asmv1:assembly manifestVersion="1.0" xmlns="urn:schemas-microsoft-com:asm.v1" xmlns:asmv1

Application with 2 launcher activities

牧云@^-^@ 提交于 2019-12-09 12:41:23
问题 I have an application that contains two Activities with <intent-filter> <action android:name="android.intent.action.MAIN"/> <category android:name="android.intent.category.LAUNCHER"/> </intent-filter> in the manifest. I did this so that there are 2 separate entries in the app drawer. It functions properly with regards to the app drawer as it is. My question comes during the install. After you install an app with only one MAIN/LAUNCHER activity the last page has an open button that will launch

Progressive web application - not honouring screen orientation

♀尐吖头ヾ 提交于 2019-12-09 08:02:28
My web app is not honouring the orientation set in my manifest.json : { "manifest_version": 2, "version": "1", "name": "My App", "short_name": "My App", "icons": [ { "src": "img/myapp/launcher-icon-0-75x.png", "sizes": "36x36", "type": "image/png" }, { "src": "img/myapp/launcher-icon-1x.png", "sizes": "48x48", "type": "image/png" }, { "src": "img/myapp/launcher-icon-1-5x.png", "sizes": "72x72", "type": "image/png" }, { "src": "img/myapp/launcher-icon-2x.png", "sizes": "96x96", "type": "image/png" }, { "src": "img/myapp/launcher-icon-3x.png", "sizes": "144x144", "type": "image/png" }, { "src":