1. cordova : 7.0.0
2. plugin : cordova-plugin-crosswalk-webview 2.4.0 "Crosswalk WebView Engine"
3. 해결법 :
- cordova plugin add cordova-android-support-gradle-release
- config.xml
<plugin name="cordova-android-support-gradle-release" spec="1.3.0">
<variable name="ANDROID_SUPPORT_VERSION" value="27.+" /> </plugin>
4. 출처 :
https://stackoverflow.com/questions/49208772/error-resource-androidattr-fontvariationsettings-not-found
5. 에러내용 (path 변경 및 일부내용) :
C:\xxx\.gradle\caches\transforms-1\files-1.1\xwalk_core_library-23.53.589.4.aar\b3314598d439688991186787777ac81f\res\values\dimens_03.xml:14:5-51: AAPT: error: resource android:attr/fontVariationSettings not found.
C:\xxx\.gradle\caches\transforms-1\files-1.1\xwalk_core_library-23.53.589.4.aar\b3314598d439688991186787777ac81f\res\values\dimens_03.xml:14:5-51: AAPT: error: resource android:attr/ttcIndex not found.
C:\xxx\platforms\android\app\build\intermediates\incremental\mergeArm64DebugResources\merged.dir\values\values.xml:99: error: resource android:attr/fontVariationSettings not found.
C:\xxx\platforms\android\app\build\intermediates\incremental\mergeArm64DebugResources\merged.dir\values\values.xml:99: error: resource android:attr/ttcIndex not found.
error: failed linking references.
Failed to execute aapt
com.android.ide.common.process.ProcessException: Failed to execute aapt
...
2018년 4월 27일 금요일
2018년 2월 27일 화요일
eclipse weblogic
- http://www.oracle.com/technetwork/middleware/weblogic/downloads/wls-for-dev-1703574.html 에서 zip 파일의 weblogic 다운로드
- configure.cmd 실행
tip. google 에 'eclipse weblogic 12.1.3 plugin' 과 같이 버전으로 검색하면 oracle 에서 제공하는 plugin 합본 eclipse 있음.
-------------- 2019.05.30 추가 ----------
- 위 주소에서 12.2.1.3 다운로드
- 압축 해제
- 안에 jar 파일 was 폴더 로 이동
- cmd 관리자로 실행
- java -jar fmw_12.2.1.3.0_wls_quick.jar
- wls12213 생김
- wls12213\wlserver\server\bin\setWLSEnv.cmd
- id, pwd 입력하라함. pwd 에 8자 이상 문자+숫자+특수문자 조합 입력
- wls12213 안에 domain 폴더 만듦. mkdir domain
- domain 폴더 내에서 java weblogic.Server 실행
- localhost:7001/console 접속
- 상단 환경설정 -> '자동으로 잠금을 얻고 변경 내용 활성화' 체크 해제 및 저장.
- 좌측 상단 변경센터 -> '구성해제' 클릭
- eclipse market place 에서 weblogic 검색하여 'oracle weblogic server tools' 깔았는데 server 설정하는 중 invalied version 어쩌구 하면서 안됨. 오잉??? description 에는 분명 12.2.1.3 이라고 적혀 있는데 ㅡㅡ
- market place 의 tools repository 주소 보니 12.2.1.3 이 아님. 주소 참조해서 mars 용 때려 맞춤. 찾음. OK ㅋ
- https://download.oracle.com/otn_software/oepe/12.2.1.3/mars/repository/ 에서 tools 깔음..... 겁나 오래 걸림. 취소함. ㅋ
- https://www.oracle.com/technetwork/developer-tools/eclipse/downloads/oepe-12213-3042423.html 에서 걍 eclipse 랑 plugin 합본 받음.
- weblogic home 선택 위치는 wls12213\wlserver
- domain 은 위 9번에서 만든 도메인 위치
2017년 12월 27일 수요일
Node.js Typescript 설치
1. npm install -g typescript
2. tsc --init
tsconfig.json 기본 데이터 파일
{
"compilerOptions": {
/* Basic Options */
"target": "es5", /* Specify ECMAScript target version: 'ES3' (default), 'ES5', 'ES2015', 'ES2016', 'ES2017', or 'ESNEXT'. */
"module": "commonjs", /* Specify module code generation: 'none', 'commonjs', 'amd', 'system', 'umd', 'es2015', or 'ESNext'. */
// "lib": [], /* Specify library files to be included in the compilation: */
// "allowJs": true, /* Allow javascript files to be compiled. */
// "checkJs": true, /* Report errors in .js files. */
// "jsx": "preserve", /* Specify JSX code generation: 'preserve', 'react-native', or 'react'. */
// "declaration": true, /* Generates corresponding '.d.ts' file. */
// "sourceMap": true, /* Generates corresponding '.map' file. */
// "outFile": "./", /* Concatenate and emit output to single file. */
// "outDir": "./", /* Redirect output structure to the directory. */
// "rootDir": "./", /* Specify the root directory of input files. Use to control the output directory structure with --outDir. */
// "removeComments": true, /* Do not emit comments to output. */
// "noEmit": true, /* Do not emit outputs. */
// "importHelpers": true, /* Import emit helpers from 'tslib'. */
// "downlevelIteration": true, /* Provide full support for iterables in 'for-of', spread, and destructuring when targeting 'ES5' or 'ES3'. */
// "isolatedModules": true, /* Transpile each file as a separate module (similar to 'ts.transpileModule'). */
/* Strict Type-Checking Options */
"strict": true /* Enable all strict type-checking options. */
// "noImplicitAny": true, /* Raise error on expressions and declarations with an implied 'any' type. */
// "strictNullChecks": true, /* Enable strict null checks. */
// "strictFunctionTypes": true, /* Enable strict checking of function types. */
// "noImplicitThis": true, /* Raise error on 'this' expressions with an implied 'any' type. */
// "alwaysStrict": true, /* Parse in strict mode and emit "use strict" for each source file. */
/* Additional Checks */
// "noUnusedLocals": true, /* Report errors on unused locals. */
// "noUnusedParameters": true, /* Report errors on unused parameters. */
// "noImplicitReturns": true, /* Report error when not all code paths in function return a value. */
// "noFallthroughCasesInSwitch": true, /* Report errors for fallthrough cases in switch statement. */
/* Module Resolution Options */
// "moduleResolution": "node", /* Specify module resolution strategy: 'node' (Node.js) or 'classic' (TypeScript pre-1.6). */
// "baseUrl": "./", /* Base directory to resolve non-absolute module names. */
// "paths": {}, /* A series of entries which re-map imports to lookup locations relative to the 'baseUrl'. */
// "rootDirs": [], /* List of root folders whose combined content represents the structure of the project at runtime. */
// "typeRoots": [], /* List of folders to include type definitions from. */
// "types": [], /* Type declaration files to be included in compilation. */
// "allowSyntheticDefaultImports": true, /* Allow default imports from modules with no default export. This does not affect code emit, just typechecking. */
// "preserveSymlinks": true, /* Do not resolve the real path of symlinks. */
/* Source Map Options */
// "sourceRoot": "./", /* Specify the location where debugger should locate TypeScript files instead of source locations. */
// "mapRoot": "./", /* Specify the location where debugger should locate map files instead of generated locations. */
// "inlineSourceMap": true, /* Emit a single file with source maps instead of having a separate file. */
// "inlineSources": true, /* Emit the source alongside the sourcemaps within a single file; requires '--inlineSourceMap' or '--sourceMap' to be set. */
/* Experimental Options */
// "experimentalDecorators": true, /* Enables experimental support for ES7 decorators. */
// "emitDecoratorMetadata": true, /* Enables experimental support for emitting type metadata for decorators. */
}
}
2017년 6월 5일 월요일
2017년 3월 15일 수요일
IE 버전별 VM 이미지 다운로드
https://developer.microsoft.com/en-us/microsoft-edge/tools/vms/#downloads
Virtualbox
VMware
각종 VM 에 맞춰 만들어진 이미지를 받을수 있다.
Virtualbox
VMware
각종 VM 에 맞춰 만들어진 이미지를 받을수 있다.
2017년 2월 11일 토요일
java Alphacomposite (이미지 겹침 처리)
https://docs.oracle.com/javase/tutorial/2d/advanced/compositing.html
http://www.java2s.com/Tutorial/Java/0261__2D-Graphics/AlphaCompositeDSTIN.htm
http://www.java2s.com/Tutorial/Java/0261__2D-Graphics/AlphaCompositeDSTIN.htm
Compositing Graphics
The
To change the compositing style used by the
Note: If you don't see the applet running, you need to install at least the Java SE Development Kit (JDK) 7 release.
A new
When a different compositing rule or alpha value is selected,
The composite attribute is modified by passing the
AlphaComposite class encapsulates various compositing styles, which determine how overlapping objects are rendered. An AlphaComposite can also have an alpha value that specifies the degree of transparency: alpha = 1.0 is totally opaque, alpha = 0.0 totally transparent (clear). AlphaComposite supports most of the standard Porter-Duff compositing rules shown in the following table.| Compositing Rule | Description |
|---|---|
Source-over (SRC_OVER)![]() | If pixels in the object being rendered (the source) have the same location as previously rendered pixels (the destination), the source pixels are rendered over the destination pixels. |
Source-in (SRC_IN)![]() | If pixels in the source and the destination overlap, only the source pixels in the overlapping area are rendered. |
Source-out (SRC_OUT)![]() | If pixels in the source and the destination overlap, only the source pixels outside of the overlapping area are rendered. The pixels in the overlapping area are cleared. |
Destination-over (DST_OVER)![]() | If pixels in the source and the destination overlap, only the source pixels outside of the overlapping area are rendered. The pixels in the overlapping area are not changed. |
Destination-in (DST_IN)![]() | If pixels in the source and the destination overlap, the alpha from the source is applied to the destination pixels in the overlapping area. If the alpha = 1.0, the pixels in the overlapping area are unchanged; if the alpha is 0.0, pixels in the overlapping area are cleared. |
Destination-out (DST_OUT)![]() | If pixels in the source and the destination overlap, the alpha from the source is applied to the destination pixels in the overlapping area. If the alpha = 1.0, the pixels in the overlapping area are cleared; if the alpha is 0.0, the pixels in the overlapping area are unchanged. |
Clear (CLEAR)![]() | If the pixels in the source and the destination overlap, the pixels in the overlapping area are cleared. |
Graphics2D class, create an AlphaComposite object and pass it into the setComposite method.Example: Composite
This program illustrates the effects of various compositing style and alpha combinations.Note: If you don't see the applet running, you need to install at least the Java SE Development Kit (JDK) 7 release.
Composite.java. contains the full code for this applet.A new
AlphaComposite object ac is constructed by calling AlphaComposite.getInstance and specifying the desired compositing rule.AlphaComposite ac = AlphaComposite.getInstance(AlphaComposite.SRC);
AlphaComposite.getInstance is called again, and the new AlphaComposite is assigned to ac. The selected alpha is applied in addition to the per-pixel alpha value and is passed as a second parameter to AlphaComposite.getInstance.ac = AlphaComposite.getInstance(getRule(rule), alpha);
AlphaComposite object to Graphics 2D setComposite. The objects are rendered into a BufferedImage and are later copied to the screen, so the composite attribute is set on the Graphics2D context for the BufferedImage:BufferedImage buffImg = new BufferedImage(w, h,
BufferedImage.TYPE_INT_ARGB);
Graphics2D gbi = buffImg.createGraphics();
...
gbi.setComposite(ac);
2017년 1월 24일 화요일
피드 구독하기:
글 (Atom)






